Skip to content

Commit

Permalink
[VPC 2.0] Make transit_subnets for TGW computed
Browse files Browse the repository at this point in the history
NSX sets a default transit subnet for a TGW if None is specified.
As this default subnet is returned in the API response, the Terraform
provider must treat the transit_subnet attribute as computed.
  • Loading branch information
salv-orlando committed Aug 30, 2024
1 parent 9eb0556 commit 06ab9d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nsxt/resource_nsxt_transit_gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ var transitGatewaySchema = map[string]*metadata.ExtendedSchema{
},
},
Optional: true,
Computed: true,
},
Metadata: metadata.Metadata{
SchemaType: "list",
Expand Down

0 comments on commit 06ab9d2

Please sign in to comment.