Skip to content

Commit

Permalink
r/aws_apprunner_vpc_ingress_connection: 'ingress_vpc_configuration' a…
Browse files Browse the repository at this point in the history
…nd 'name' are also ForceNew.
  • Loading branch information
ewbankkit committed Jan 15, 2025
1 parent f8fd0e0 commit b3f847c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .changelog/40927.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
```release-note:bug
resource/aws_apprunner_vpc_ingress_connection: Change `service_arn` to [ForceNew](https://developer.hashicorp.com/terraform/plugin/sdkv2/schemas/schema-behaviors#forcenew)
resource/aws_apprunner_vpc_ingress_connection: Change `ingress_vpc_configuration`, `name`, and `service_arn` to [ForceNew](https://developer.hashicorp.com/terraform/plugin/sdkv2/schemas/schema-behaviors#forcenew)
```
4 changes: 4 additions & 0 deletions internal/service/apprunner/vpc_ingress_connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,27 @@ func resourceVPCIngressConnection() *schema.Resource {
"ingress_vpc_configuration": {
Type: schema.TypeList,
Required: true,
ForceNew: true,
MaxItems: 1,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
names.AttrVPCEndpointID: {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
},
names.AttrVPCID: {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
},
},
},
},
names.AttrName: {
Type: schema.TypeString,
Required: true,
ForceNew: true,
},
"service_arn": {
Type: schema.TypeString,
Expand Down

0 comments on commit b3f847c

Please sign in to comment.