diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6b1c6a1..6f0e1e8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,6 +18,7 @@ jobs: with: role-to-assume: 'arn:aws:iam::068189904525:role/github-openid-connect' aws-region: 'eu-west-1' + role-duration-seconds: 7200 - uses: actions/setup-node@v4 with: node-version: '18.x' diff --git a/examples/ec2-mysql/example.yml b/examples/ec2-mysql/example.yml index f3d4c40..c1972e4 100644 --- a/examples/ec2-mysql/example.yml +++ b/examples/ec2-mysql/example.yml @@ -45,6 +45,7 @@ Resources: VpcModule: !GetAtt 'Vpc.Outputs.StackName' ClientSgModule: !GetAtt 'ClientSg.Outputs.StackName' AlertingModule: !GetAtt 'Alerting.Outputs.StackName' + EngineVersion: '8.4.3' DBMasterUserPassword: insecure DBBackupRetentionPeriod: '0' # speed up the example (do not set to 0 in production!) DBMultiAZ: 'false' # speed up the example (do not set to false in production!) diff --git a/examples/ec2-postgres/example.yml b/examples/ec2-postgres/example.yml index e9c1186..dffdb61 100644 --- a/examples/ec2-postgres/example.yml +++ b/examples/ec2-postgres/example.yml @@ -49,7 +49,7 @@ Resources: DBMasterUserPassword: insecure DBBackupRetentionPeriod: '0' # speed up the example (do not set to 0 in production!) DBMultiAZ: 'false' # speed up the example (do not set to false in production!) - EngineVersion: '14.2' + EngineVersion: '17.2' TemplateURL: './node_modules/@cfn-modules/rds-postgres/module.yml' Instance: Type: 'AWS::CloudFormation::Stack' diff --git a/examples/ec2-postgres/package-lock.json b/examples/ec2-postgres/package-lock.json index 1ee8079..df1479b 100644 --- a/examples/ec2-postgres/package-lock.json +++ b/examples/ec2-postgres/package-lock.json @@ -12,7 +12,7 @@ "@cfn-modules/alerting": "1.2.2", "@cfn-modules/client-sg": "1.0.0", "@cfn-modules/ec2-instance-amazon-linux": "2.4.0", - "@cfn-modules/rds-postgres": "2.3.1", + "@cfn-modules/rds-postgres": "2.4.6", "@cfn-modules/vpc": "2.3.0" } }, @@ -32,16 +32,22 @@ "integrity": "sha512-goPxpZ+viDjj7JfQ0ssktRZbOvQFsW7ZjIuu9Xu0BVp1gxL4I8LW1P1mJfdKPp1QxnTUB44l+ciI3lVm8MhRrw==" }, "node_modules/@cfn-modules/rds-postgres": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@cfn-modules/rds-postgres/-/rds-postgres-2.3.1.tgz", - "integrity": "sha512-RIqmI0qxXFc0tqRotZo4e8p+OQ43RRUX4yc0ya083mQPZ7OIuk+3xEcE6GK76yb5652iotFSLT/fdDqgn5mJ9A==", + "version": "2.4.6", + "resolved": "https://registry.npmjs.org/@cfn-modules/rds-postgres/-/rds-postgres-2.4.6.tgz", + "integrity": "sha512-187UkVIsNYhxl9uHwW0dz2t/Q1XOWy4JByyt4a8UVMbP6mH8Ta5CP8MaPk6u89oQzvKb8tSGzR0u5EH4cG+KpA==", "bundleDependencies": [ "@cfn-modules/rds-instance" ], + "license": "Apache-2.0", "dependencies": { "@cfn-modules/rds-instance": "^1.5.0" } }, + "node_modules/@cfn-modules/rds-postgres/node_modules/@cfn-modules/rds-instance": { + "version": "1.5.0", + "inBundle": true, + "license": "Apache-2.0" + }, "node_modules/@cfn-modules/vpc": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/@cfn-modules/vpc/-/vpc-2.3.0.tgz", @@ -97,11 +103,17 @@ "integrity": "sha512-goPxpZ+viDjj7JfQ0ssktRZbOvQFsW7ZjIuu9Xu0BVp1gxL4I8LW1P1mJfdKPp1QxnTUB44l+ciI3lVm8MhRrw==" }, "@cfn-modules/rds-postgres": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@cfn-modules/rds-postgres/-/rds-postgres-2.3.1.tgz", - "integrity": "sha512-RIqmI0qxXFc0tqRotZo4e8p+OQ43RRUX4yc0ya083mQPZ7OIuk+3xEcE6GK76yb5652iotFSLT/fdDqgn5mJ9A==", + "version": "2.4.6", + "resolved": "https://registry.npmjs.org/@cfn-modules/rds-postgres/-/rds-postgres-2.4.6.tgz", + "integrity": "sha512-187UkVIsNYhxl9uHwW0dz2t/Q1XOWy4JByyt4a8UVMbP6mH8Ta5CP8MaPk6u89oQzvKb8tSGzR0u5EH4cG+KpA==", "requires": { "@cfn-modules/rds-instance": "^1.5.0" + }, + "dependencies": { + "@cfn-modules/rds-instance": { + "version": "1.5.0", + "bundled": true + } } }, "@cfn-modules/vpc": { diff --git a/examples/ec2-postgres/package.json b/examples/ec2-postgres/package.json index 9fba51a..06fd788 100644 --- a/examples/ec2-postgres/package.json +++ b/examples/ec2-postgres/package.json @@ -8,7 +8,7 @@ "dependencies": { "@cfn-modules/alerting": "1.2.2", "@cfn-modules/vpc": "2.3.0", - "@cfn-modules/rds-postgres": "2.3.1", + "@cfn-modules/rds-postgres": "2.4.6", "@cfn-modules/client-sg": "1.0.0", "@cfn-modules/ec2-instance-amazon-linux": "2.4.0" }