@ossy/deployment-tools 0.0.65 → 0.0.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -62,6 +62,7 @@ To add a new account follow the steps below.
62
62
  - don't forget to add the keypair
63
63
  - run the cdk ls command to make sure the new stack is picked up
64
64
  - run cdk bootstrap for the account and region. This will create necessary resources like roles used by aws cdk.
65
+ - add the stack name to workflow options
65
66
 
66
67
 
67
68
  <!-- Deploys AWS infrastructure
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ossy/deployment-tools",
3
- "version": "0.0.65",
3
+ "version": "0.0.67",
4
4
  "description": "Collection of scripts and tools to aid deployment of containers and static files to Amazon Web Services through GitHub Actions",
5
5
  "source": "./src/index.js",
6
6
  "main": "./src/index.js",
@@ -30,7 +30,7 @@ class PlatformStack extends Stack {
30
30
  })
31
31
 
32
32
  const platformConfigBucket = new Bucket(this, 'PlatformConfig', {
33
- bucketName: `${props.config.platformName}-${props.config.activeEnvironment}-${nanoid().toLowerCase().replaceAll('_', '')}`,
33
+ bucketName: `${props.config.platformName}-${props.config.activeEnvironment}-${nanoid().toLowerCase().replaceAll('_', '').replaceAll('-', '')}`,
34
34
  blockPublicAccess: BlockPublicAccess.BLOCK_ALL,
35
35
  encryption: BucketEncryption.S3_MANAGED,
36
36
  removalPolicy: RemovalPolicy.DESTROY,