Skip to content

Commit e31b161

Browse files
authored
chore: Proper link to complete vpc example (#1174)
Proper link to complete vpc Seems like the directory layout was modified, but this doc was not
1 parent 961c9b5 commit e31b161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UPGRADE-3.0.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ If you find a bug, please open an issue with supporting configuration to reprodu
1010

1111
Previously, VPC endpoints were configured as standalone resources with their own set of variables and attributes. Now, this functionality is provided via a module which loops over a map of maps using `for_each` to generate the desired VPC endpoints. Therefore, to maintain the existing set of functionality while upgrading, you will need to perform the following changes:
1212

13-
1. Move the endpoint resource from the main module to the sub-module. The example state move below is valid for all endpoints you might have configured (reference [`complete-vpc`](https://github.com/terraform-aws-modules/terraform-aws-vpc/tree/master/examples/complete-vpc) example for reference), where `ssmmessages` should be updated for and state move performed for each endpoint configured:
13+
1. Move the endpoint resource from the main module to the sub-module. The example state move below is valid for all endpoints you might have configured (reference [`complete-vpc`](https://github.com/terraform-aws-modules/terraform-aws-vpc/tree/master/examples/complete) example for reference), where `ssmmessages` should be updated for and state move performed for each endpoint configured:
1414

1515
```
1616
terraform state mv 'module.vpc.aws_vpc_endpoint.ssm[0]' 'module.vpc_endpoints.aws_vpc_endpoint.this["ssm"]'

0 commit comments

Comments
 (0)