Skip to content

Commit be65c19

Browse files
Merge pull request #40 from OctopusDeploy/isaac/feed-type-fix
Update ACR and GCR feed types that have been created as docker feeds
2 parents e58605b + 32943f4 commit be65c19

17 files changed

+928
-193
lines changed

docs/resources/azure_container_registry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ resource "octopusdeploy_azure_container_registry" "example" {
2323
resource "octopusdeploy_azure_container_register" "example_with_oidc" {
2424
name = "Test Azure Container Registry (OK to Delete)"
2525
feed_uri = "https://test-azure.azurecr.io"
26-
oidc_authentication {
26+
oidc_authentication = {
2727
client_id = "client_id"
2828
tenant_id = "tenant_id"
2929
audience = "audience"

docs/resources/google_container_registry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ resource "octopusdeploy_google_container_registry" "example_with_oidc" {
2424
name = "Test Google Container Registry (OK to Delete)"
2525
feed_uri = "https://google.docker.test"
2626
registry_path = "testing/test-image"
27-
oidc_authentication {
27+
oidc_authentication = {
2828
audience = "audience"
2929
subject_keys = ["feed", "space"]
3030
}

examples/resources/octopusdeploy_azure_container_registry/resource.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ resource "octopusdeploy_azure_container_registry" "example" {
88
resource "octopusdeploy_azure_container_register" "example_with_oidc" {
99
name = "Test Azure Container Registry (OK to Delete)"
1010
feed_uri = "https://test-azure.azurecr.io"
11-
oidc_authentication {
11+
oidc_authentication = {
1212
client_id = "client_id"
1313
tenant_id = "tenant_id"
1414
audience = "audience"

examples/resources/octopusdeploy_google_container_registry/resource.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ resource "octopusdeploy_google_container_registry" "example_with_oidc" {
99
name = "Test Google Container Registry (OK to Delete)"
1010
feed_uri = "https://google.docker.test"
1111
registry_path = "testing/test-image"
12-
oidc_authentication {
12+
oidc_authentication = {
1313
audience = "audience"
1414
subject_keys = ["feed", "space"]
1515
}

go.mod

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
module github.com/OctopusDeploy/terraform-provider-octopusdeploy
22

3-
go 1.22.0
3+
go 1.23.0
44

5-
toolchain go1.22.5
5+
toolchain go1.24.5
66

77
require (
8-
github.com/OctopusDeploy/go-octopusdeploy/v2 v2.76.0
9-
github.com/OctopusSolutionsEngineering/OctopusTerraformTestFramework v0.0.0-20250307001652-0d83fd2b1e49
8+
github.com/OctopusDeploy/go-octopusdeploy/v2 v2.77.0
9+
github.com/OctopusSolutionsEngineering/OctopusTerraformTestFramework v1.0.1
1010
github.com/google/uuid v1.6.0
1111
github.com/hashicorp/go-cty v1.4.1-0.20200723130312-85980079f637
1212
github.com/hashicorp/terraform-plugin-docs v0.13.0
@@ -19,8 +19,8 @@ require (
1919
github.com/hashicorp/terraform-plugin-sdk/v2 v2.34.0
2020
github.com/hashicorp/terraform-plugin-testing v1.8.0
2121
github.com/stretchr/testify v1.10.0
22-
github.com/testcontainers/testcontainers-go v0.35.0
23-
golang.org/x/text v0.21.0
22+
github.com/testcontainers/testcontainers-go v0.36.0
23+
golang.org/x/text v0.24.0
2424
software.sslmate.com/src/go-pkcs12 v0.4.0
2525
)
2626

@@ -48,9 +48,10 @@ require (
4848
github.com/davecgh/go-spew v1.1.1 // indirect
4949
github.com/dghubble/sling v1.4.1 // indirect
5050
github.com/distribution/reference v0.6.0 // indirect
51-
github.com/docker/docker v27.5.1+incompatible // indirect
51+
github.com/docker/docker v28.1.1+incompatible // indirect
5252
github.com/docker/go-connections v0.5.0 // indirect
5353
github.com/docker/go-units v0.5.0 // indirect
54+
github.com/ebitengine/purego v0.8.2 // indirect
5455
github.com/fatih/color v1.16.0 // indirect
5556
github.com/felixge/httpsnoop v1.0.4 // indirect
5657
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
@@ -63,7 +64,7 @@ require (
6364
github.com/go-test/deep v1.0.7 // indirect
6465
github.com/gogo/protobuf v1.3.2 // indirect
6566
github.com/golang/protobuf v1.5.4 // indirect
66-
github.com/google/go-cmp v0.6.0 // indirect
67+
github.com/google/go-cmp v0.7.0 // indirect
6768
github.com/google/go-querystring v1.1.0 // indirect
6869
github.com/hashicorp/errwrap v1.1.0 // indirect
6970
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
@@ -83,10 +84,10 @@ require (
8384
github.com/hashicorp/yamux v0.1.1 // indirect
8485
github.com/huandu/xstrings v1.4.0 // indirect
8586
github.com/imdario/mergo v0.3.15 // indirect
86-
github.com/klauspost/compress v1.17.11 // indirect
87+
github.com/klauspost/compress v1.18.0 // indirect
8788
github.com/leodido/go-urn v1.4.0 // indirect
88-
github.com/lufia/plan9stats v0.0.0-20240909124753-873cd0166683 // indirect
89-
github.com/magiconair/properties v1.8.9 // indirect
89+
github.com/lufia/plan9stats v0.0.0-20250317134145-8bc96cf8fc35 // indirect
90+
github.com/magiconair/properties v1.8.10 // indirect
9091
github.com/mailru/easyjson v0.7.7 // indirect
9192
github.com/mattn/go-colorable v0.1.13 // indirect
9293
github.com/mattn/go-isatty v0.0.20 // indirect
@@ -97,47 +98,48 @@ require (
9798
github.com/mitchellh/mapstructure v1.5.0 // indirect
9899
github.com/mitchellh/reflectwalk v1.0.2 // indirect
99100
github.com/moby/docker-image-spec v1.3.1 // indirect
101+
github.com/moby/go-archive v0.1.0 // indirect
100102
github.com/moby/patternmatcher v0.6.0 // indirect
103+
github.com/moby/sys/atomicwriter v0.1.0 // indirect
101104
github.com/moby/sys/sequential v0.6.0 // indirect
102-
github.com/moby/sys/user v0.3.0 // indirect
105+
github.com/moby/sys/user v0.4.0 // indirect
103106
github.com/moby/sys/userns v0.1.0 // indirect
104107
github.com/moby/term v0.5.2 // indirect
105108
github.com/morikuni/aec v1.0.0 // indirect
106109
github.com/oklog/run v1.1.0 // indirect
107110
github.com/opencontainers/go-digest v1.0.0 // indirect
108-
github.com/opencontainers/image-spec v1.1.0 // indirect
111+
github.com/opencontainers/image-spec v1.1.1 // indirect
109112
github.com/otiai10/copy v1.14.0 // indirect
110113
github.com/pkg/errors v0.9.1 // indirect
111114
github.com/pmezard/go-difflib v1.0.0 // indirect
112115
github.com/posener/complete v1.2.3 // indirect
113116
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
114117
github.com/russross/blackfriday v1.6.0 // indirect
115-
github.com/shirou/gopsutil/v3 v3.24.5 // indirect
116-
github.com/shoenig/go-m1cpu v0.1.6 // indirect
118+
github.com/shirou/gopsutil/v4 v4.25.3 // indirect
117119
github.com/shopspring/decimal v1.3.1 // indirect
118120
github.com/sirupsen/logrus v1.9.3 // indirect
119121
github.com/spf13/cast v1.5.0 // indirect
120-
github.com/tklauser/go-sysconf v0.3.14 // indirect
121-
github.com/tklauser/numcpus v0.9.0 // indirect
122+
github.com/tklauser/go-sysconf v0.3.15 // indirect
123+
github.com/tklauser/numcpus v0.10.0 // indirect
122124
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
123125
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
124126
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
125127
github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect
126128
github.com/yusufpapurcu/wmi v1.2.4 // indirect
127129
github.com/zclconf/go-cty v1.14.4 // indirect
128130
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
129-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.59.0 // indirect
130-
go.opentelemetry.io/otel v1.34.0 // indirect
131+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0 // indirect
132+
go.opentelemetry.io/otel v1.35.0 // indirect
131133
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.19.0 // indirect
132-
go.opentelemetry.io/otel/metric v1.34.0 // indirect
133-
go.opentelemetry.io/otel/trace v1.34.0 // indirect
134+
go.opentelemetry.io/otel/metric v1.35.0 // indirect
135+
go.opentelemetry.io/otel/trace v1.35.0 // indirect
134136
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
135-
golang.org/x/crypto v0.32.0 // indirect
137+
golang.org/x/crypto v0.37.0 // indirect
136138
golang.org/x/exp v0.0.0-20240707233637-46b078467d37 // indirect
137139
golang.org/x/mod v0.19.0 // indirect
138140
golang.org/x/net v0.34.0 // indirect
139-
golang.org/x/sync v0.10.0 // indirect
140-
golang.org/x/sys v0.29.0 // indirect
141+
golang.org/x/sync v0.13.0 // indirect
142+
golang.org/x/sys v0.32.0 // indirect
141143
golang.org/x/time v0.5.0 // indirect
142144
golang.org/x/tools v0.23.0 // indirect
143145
google.golang.org/appengine v1.6.8 // indirect

0 commit comments

Comments
 (0)