Skip to content

Commit 16193be

Browse files
committed
Release VPC V1.0.1
1 parent da00cd9 commit 16193be

3 files changed

Lines changed: 28 additions & 4 deletions

File tree

aws/vpc-template/v1/.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.0.0
1+
v1.0.1

aws/vpc-template/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ The created VPC has this architecture:
4040
For general instructions on creating a new stack using a CloudFormation template, see
4141
See [Creating a Stack (AWS CloudFormation Documentation)](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-create-stack.html).
4242

43-
You can either use the template from this folder directly, or you can use the S3 link:
43+
You can either use the template from this folder directly, or you can use the S3 link:
4444
```
45-
https://mathworks-reference-architectures-templates.s3.amazonaws.com/vpc-template/v1/0/0/vpc-template.yml
45+
https://mathworks-reference-architectures-templates.s3.amazonaws.com/vpc-template/v1/0/1/vpc-template.yml
4646
```
4747

4848
MathWorks recommends these practices:

aws/vpc-template/v1/vpc-template.yml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,4 +436,28 @@ Outputs:
436436
VpcInterfaceEndpointForCloudFormation:
437437
Description: 'Interface Endpoint ID for CloudFormation'
438438
Condition: CreateCloudFormationEndpoint
439-
Value: !Ref CloudFormationVPCEndpoint
439+
Value: !Ref CloudFormationVPCEndpoint
440+
441+
'Fn::ForEach::PublicSubnetCidrOutputs':
442+
- SubnetName
443+
- [A, B]
444+
- PublicSubnet${SubnetName}CidrBlock:
445+
Description: !Sub 'Public Subnet ${SubnetName} CIDR Block'
446+
Value: !Select
447+
- !FindInMap [SubnetConfigMap, !Ref SubnetName, PublicCidrIndex]
448+
- !Cidr
449+
- !Ref VpcCidrBlock
450+
- 4
451+
- !FindInMap [SubnetMaskMap, !Ref SubnetMask, CidrBits]
452+
453+
'Fn::ForEach::PrivateSubnetCidrOutputs':
454+
- SubnetName
455+
- [A, B]
456+
- PrivateSubnet${SubnetName}CidrBlock:
457+
Description: !Sub 'Private Subnet ${SubnetName} CIDR Block'
458+
Value: !Select
459+
- !FindInMap [SubnetConfigMap, !Ref SubnetName, PrivateCidrIndex]
460+
- !Cidr
461+
- !Ref VpcCidrBlock
462+
- 4
463+
- !FindInMap [SubnetMaskMap, !Ref SubnetMask, CidrBits]

0 commit comments

Comments
 (0)