Skip to content

Commit

Permalink
[bugfix] Update aci-go-client to v2.7.3 to fix issue in aci_cloud_con…
Browse files Browse the repository at this point in the history
…text_profile when optional parameters cloud_brownfield and access_policy_type are not provided.
  • Loading branch information
lhercot committed Feb 3, 2023
1 parent afe1545 commit 984a22f
Show file tree
Hide file tree
Showing 10 changed files with 161 additions and 141 deletions.
10 changes: 10 additions & 0 deletions examples/cloud_context_profile/aws/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,14 @@ resource "aci_cloud_context_profile" "ctx1" {
relation_cloud_rs_to_ctx = aci_vrf.vrf.id
cloud_brownfield = "vpc-00a844d6354c53502"
access_policy_type = "read-only"
}

resource "aci_cloud_context_profile" "ctx2" {
name = "cloud_context_profile_2"
description = "normal vpc in aws"
tenant_dn = aci_tenant.terraform_tenant.id
primary_cidr = "10.2.1.0/24"
region = "us-west-1"
cloud_vendor = "aws"
relation_cloud_rs_to_ctx = aci_vrf.vrf.id
}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/terraform-providers/terraform-provider-aci
go 1.18

require (
github.com/ciscoecosystem/aci-go-client/v2 v2.7.1
github.com/ciscoecosystem/aci-go-client/v2 v2.7.3
github.com/ghodss/yaml v1.0.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.18.0
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkE
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/ciscoecosystem/aci-go-client/v2 v2.7.1 h1:a4xJet/HYrjQZeTt7NSF1z+3lQnx2QJF3gjx2HjN5Wg=
github.com/ciscoecosystem/aci-go-client/v2 v2.7.1/go.mod h1:ZeJuaKr9gTRn5B1CwA3sVSVqnRjVMEcBc8LUX222wf0=
github.com/ciscoecosystem/aci-go-client/v2 v2.7.3 h1:6CTJ4jYflTVLMmrcbeWarUjvDW4OqdWCDrnIwZQQeEs=
github.com/ciscoecosystem/aci-go-client/v2 v2.7.3/go.mod h1:ZeJuaKr9gTRn5B1CwA3sVSVqnRjVMEcBc8LUX222wf0=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
Expand Down
29 changes: 19 additions & 10 deletions vendor/github.com/ciscoecosystem/aci-go-client/v2/client/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 984a22f

Please sign in to comment.