Skip to content

Commit 8dae6e1

Browse files
fix(deps): update module gopkg.in/yaml.v2 to v3 (#15)
1 parent 86abc02 commit 8dae6e1

File tree

3 files changed

+260
-3
lines changed

3 files changed

+260
-3
lines changed

.gitignore

Lines changed: 258 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,258 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/macos,windows,visualstudiocode,intellij,go
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,windows,visualstudiocode,intellij,go
3+
4+
# do not accidentally commit the binary
5+
common-go
6+
7+
### Go ###
8+
# Binaries for programs and plugins
9+
*.exe
10+
*.exe~
11+
*.dll
12+
*.so
13+
*.dylib
14+
15+
# Test binary, built with `go test -c`
16+
*.test
17+
18+
# Output of the go coverage tool, specifically when used with LiteIDE
19+
*.out
20+
21+
# Dependency directories (remove the comment below to include it)
22+
# vendor/
23+
24+
### Go Patch ###
25+
/vendor/
26+
/Godeps/
27+
28+
### Intellij ###
29+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
30+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
31+
32+
# User-specific stuff
33+
.idea/**/workspace.xml
34+
.idea/**/tasks.xml
35+
.idea/**/usage.statistics.xml
36+
.idea/**/dictionaries
37+
.idea/**/shelf
38+
39+
# AWS User-specific
40+
.idea/**/aws.xml
41+
42+
# Generated files
43+
.idea/**/contentModel.xml
44+
45+
# Sensitive or high-churn files
46+
.idea/**/dataSources/
47+
.idea/**/dataSources.ids
48+
.idea/**/dataSources.local.xml
49+
.idea/**/sqlDataSources.xml
50+
.idea/**/dynamic.xml
51+
.idea/**/uiDesigner.xml
52+
.idea/**/dbnavigator.xml
53+
54+
# Gradle
55+
.idea/**/gradle.xml
56+
.idea/**/libraries
57+
58+
# Gradle and Maven with auto-import
59+
# When using Gradle or Maven with auto-import, you should exclude module files,
60+
# since they will be recreated, and may cause churn. Uncomment if using
61+
# auto-import.
62+
# .idea/artifacts
63+
# .idea/compiler.xml
64+
# .idea/jarRepositories.xml
65+
# .idea/modules.xml
66+
# .idea/*.iml
67+
# .idea/modules
68+
# *.iml
69+
# *.ipr
70+
71+
# CMake
72+
cmake-build-*/
73+
74+
# Mongo Explorer plugin
75+
.idea/**/mongoSettings.xml
76+
77+
# File-based project format
78+
*.iws
79+
80+
# IntelliJ
81+
.idea/
82+
out/
83+
84+
# mpeltonen/sbt-idea plugin
85+
.idea_modules/
86+
87+
# JIRA plugin
88+
atlassian-ide-plugin.xml
89+
90+
# Cursive Clojure plugin
91+
.idea/replstate.xml
92+
93+
# Crashlytics plugin (for Android Studio and IntelliJ)
94+
com_crashlytics_export_strings.xml
95+
crashlytics.properties
96+
crashlytics-build.properties
97+
fabric.properties
98+
99+
# Editor-based Rest Client
100+
.idea/httpRequests
101+
102+
# Android studio 3.1+ serialized cache file
103+
.idea/caches/build_file_checksums.ser
104+
105+
### Intellij Patch ###
106+
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
107+
108+
# *.iml
109+
# modules.xml
110+
# .idea/misc.xml
111+
# *.ipr
112+
113+
# Sonarlint plugin
114+
# https://plugins.jetbrains.com/plugin/7973-sonarlint
115+
.idea/**/sonarlint/
116+
117+
# SonarQube Plugin
118+
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
119+
.idea/**/sonarIssues.xml
120+
121+
# Markdown Navigator plugin
122+
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
123+
.idea/**/markdown-navigator.xml
124+
.idea/**/markdown-navigator-enh.xml
125+
.idea/**/markdown-navigator/
126+
127+
# Cache file creation bug
128+
# See https://youtrack.jetbrains.com/issue/JBR-2257
129+
.idea/$CACHE_FILE$
130+
131+
# CodeStream plugin
132+
# https://plugins.jetbrains.com/plugin/12206-codestream
133+
.idea/codestream.xml
134+
135+
### macOS ###
136+
# General
137+
.DS_Store
138+
.AppleDouble
139+
.LSOverride
140+
141+
# Icon must end with two \r
142+
Icon
143+
144+
145+
# Thumbnails
146+
._*
147+
148+
# Files that might appear in the root of a volume
149+
.DocumentRevisions-V100
150+
.fseventsd
151+
.Spotlight-V100
152+
.TemporaryItems
153+
.Trashes
154+
.VolumeIcon.icns
155+
.com.apple.timemachine.donotpresent
156+
157+
# Directories potentially created on remote AFP share
158+
.AppleDB
159+
.AppleDesktop
160+
Network Trash Folder
161+
Temporary Items
162+
.apdisk
163+
164+
### VisualStudioCode ###
165+
.vscode/*
166+
!.vscode/settings.json
167+
!.vscode/tasks.json
168+
!.vscode/launch.json
169+
!.vscode/extensions.json
170+
*.code-workspace
171+
172+
# Local History for Visual Studio Code
173+
.history/
174+
175+
### VisualStudioCode Patch ###
176+
# Ignore all local history of files
177+
.history
178+
.ionide
179+
180+
# Support for Project snippet scope
181+
!.vscode/*.code-snippets
182+
183+
### Windows ###
184+
# Windows thumbnail cache files
185+
Thumbs.db
186+
Thumbs.db:encryptable
187+
ehthumbs.db
188+
ehthumbs_vista.db
189+
190+
# Dump file
191+
*.stackdump
192+
193+
# Folder config file
194+
[Dd]esktop.ini
195+
196+
# Recycle Bin used on file shares
197+
$RECYCLE.BIN/
198+
199+
# Windows Installer files
200+
*.cab
201+
*.msi
202+
*.msix
203+
*.msm
204+
*.msp
205+
206+
# Windows shortcuts
207+
*.lnk
208+
209+
### Homebrew ###
210+
Brewfile.lock.json
211+
212+
# End of https://www.toptal.com/developers/gitignore/api/macos,windows,visualstudiocode,intellij,go
213+
214+
### STANDARD TERRAFORM IGNORE ###
215+
# Added because we now have sample terraform in the repo for test purposes and we want to ignore the
216+
# standard set of terraform files in case they are generated.
217+
218+
# Local .terraform directories
219+
**/.terraform/*
220+
221+
# .tfstate files
222+
*.tfstate
223+
*.tfstate.*
224+
*.terraform.lock.hcl
225+
226+
# Crash log files
227+
crash.log
228+
229+
# Exclude all .tfvars files, which are likely to contain sentitive data, such as
230+
# password, private keys, and other secrets. These should not be part of version
231+
# control as they are data points which are potentially sensitive and subject
232+
# to change depending on the environment.
233+
#
234+
*.tfvars
235+
236+
# Ignore files for local testing
237+
test.tf
238+
239+
# Ignore override files as they are usually used to override resources locally and so
240+
# are not checked in
241+
override.tf
242+
override.tf.json
243+
*_override.tf
244+
*_override.tf.json
245+
246+
# Include override files you do wish to add to version control using negated pattern
247+
#
248+
# !example_override.tf
249+
250+
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
251+
# example: *tfplan*
252+
253+
# Ignore CLI configuration files
254+
.terraformrc
255+
terraform.rc
256+
257+
# Ignore .tfsec
258+
.tfsec/

cloudinfo/region.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"sort"
88

99
"github.com/IBM/vpc-go-sdk/vpcv1"
10-
"gopkg.in/yaml.v2"
10+
"gopkg.in/yaml.v3"
1111
)
1212

1313
const (

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/gruntwork-io/terratest v0.40.12
1010
github.com/jinzhu/copier v0.3.5
1111
github.com/stretchr/testify v1.7.1
12-
gopkg.in/yaml.v2 v2.4.0
12+
gopkg.in/yaml.v3 v3.0.1
1313
)
1414

1515
require (
@@ -82,5 +82,4 @@ require (
8282
google.golang.org/protobuf v1.26.0 // indirect
8383
gopkg.in/go-playground/validator.v9 v9.31.0 // indirect
8484
gopkg.in/warnings.v0 v0.1.2 // indirect
85-
gopkg.in/yaml.v3 v3.0.1 // indirect
8685
)

0 commit comments

Comments
 (0)