-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdbparameter.yml
More file actions
29 lines (29 loc) · 1.02 KB
/
dbparameter.yml
File metadata and controls
29 lines (29 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'cfn-modules test'
Resources:
Vpc:
Type: 'AWS::CloudFormation::Stack'
Properties:
Parameters:
S3Endpoint: 'false' # speed up the test
DynamoDBEndpoint: 'false' # speed up the test
FlowLog: 'false' # speed up the test
NatGateways: 'false' # speed up the test
TemplateURL: './node_modules/@cfn-modules/vpc/module.yml'
ClientSg:
Type: 'AWS::CloudFormation::Stack'
Properties:
Parameters:
VpcModule: !GetAtt 'Vpc.Outputs.StackName'
TemplateURL: './node_modules/@cfn-modules/client-sg/module.yml'
Database:
Type: 'AWS::CloudFormation::Stack'
Properties:
Parameters:
VpcModule: !GetAtt 'Vpc.Outputs.StackName'
ClientSgModule: !GetAtt 'ClientSg.Outputs.StackName'
DBMasterUserPassword: 'test1234'
ParameterGroupName: 'default.postgres14' # using default parameter
EngineVersion: '14.12'
TemplateURL: './node_modules/@cfn-modules/rds-postgres/module.yml'