diff --git a/cloudformation/lib/secret.js b/cloudformation/lib/secret.js deleted file mode 100644 index 96ca044..0000000 --- a/cloudformation/lib/secret.js +++ /dev/null @@ -1,18 +0,0 @@ -import cf from '@openaddresses/cloudfriend'; - -export default { - Resources: { - SigningSecret: { - Type: 'AWS::SecretsManager::Secret', - Properties: { - Description: cf.join([cf.stackName, ' Management User Password']), - GenerateSecretString: { - ExcludePunctuation: true, - PasswordLength: 32 - }, - Name: cf.join([cf.stackName, '/api/secret']), - KmsKeyId: cf.ref('KMS') - } - } - } -}; diff --git a/cloudformation/media-infra.template.js b/cloudformation/media-infra.template.js index c26f4d3..522003c 100644 --- a/cloudformation/media-infra.template.js +++ b/cloudformation/media-infra.template.js @@ -2,10 +2,9 @@ import cf from '@openaddresses/cloudfriend'; import API from './lib/api.js'; import EFS from './lib/efs.js'; import KMS from './lib/kms.js'; -import Secret from './lib/secret.js'; export default cf.merge( - API, EFS, KMS, Secret, + API, EFS, KMS, { Description: 'Template for @tak-ps/media-infra', Parameters: {