cloud:aws:cloudformation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
cloud:aws:cloudformation [2023/12/05 15:01] – skipidar | cloud:aws:cloudformation [2023/12/05 15:02] (current) – skipidar | ||
---|---|---|---|
Line 73: | Line 73: | ||
+ | parent1.cloudformation.yaml | ||
<sxh yaml> | <sxh yaml> | ||
+ | AWSTemplateFormatVersion: | ||
+ | Description: | ||
- | </ | + | Parameters: |
+ | VpcIdParameter: | ||
+ | Type: String | ||
+ | Default: " | ||
+ | | ||
+ | packageBucket: | ||
+ | Type: String | ||
+ | Default: " | ||
+ | Resources: | ||
+ | |||
+ | SubStack1: | ||
+ | Type: AWS:: | ||
+ | Properties: | ||
+ | TemplateURL: | ||
+ | Parameters: | ||
+ | VpcId: !Ref VpcIdParameter | ||
+ | |||
+ | </ | ||
+ | |||
+ | substack.helloworld.cloudformation.yaml | ||
<sxh yaml> | <sxh yaml> | ||
+ | AWSTemplateFormatVersion: | ||
+ | Description: | ||
+ | |||
+ | Parameters: | ||
+ | VpcId: | ||
+ | Type: String | ||
+ | |||
+ | |||
+ | Resources: | ||
+ | |||
+ | MySecurityGroup: | ||
+ | Type: AWS:: | ||
+ | Properties: | ||
+ | GroupDescription: | ||
+ | VpcId: !Ref VpcId | ||
+ | SecurityGroupIngress: | ||
+ | - IpProtocol: tcp | ||
+ | FromPort: 80 | ||
+ | ToPort: 80 | ||
+ | CidrIp: 0.0.0.0/0 # Example: Allowing HTTP traffic from anywhere (Please adjust for your use case) | ||
+ | Tags: | ||
+ | - Key: Name | ||
+ | Value: MySecurityGroup | ||
</ | </ |
cloud/aws/cloudformation.1701788463.txt.gz · Last modified: by skipidar