~wombelix/aws-sideprojects-infrastructure

b7e5e6530f7f027c654e300cf0f457432f241aba — Dominik Wombacher 4 months ago 02169de
fix(cfn): Add StackName to Output Export Name
2 files changed, 5 insertions(+), 5 deletions(-)

M cfn/kms-key-backend-encryption-replica.yaml
M cfn/kms-key-backend-encryption.yaml
M cfn/kms-key-backend-encryption-replica.yaml => cfn/kms-key-backend-encryption-replica.yaml +2 -2
@@ 41,8 41,8 @@ Outputs:
  KMSKeyBackendEncryptionReplicaName:
    Value: !Ref KMSKeyBackendEncryptionReplica
    Export:
      Name: 'KMSKeyBackendEncryptionReplicaName'
      Name: !Sub ${AWS::StackName}-KMSKeyBackendEncryptionReplicaName
  KMSKeyBackendEncryptionReplicaArn:
    Value: !GetAtt KMSKeyBackendEncryptionReplica.Arn
    Export:
      Name: 'KMSKeyBackendEncryptionReplicaArn'
\ No newline at end of file
      Name: !Sub ${AWS::StackName}-KMSKeyBackendEncryptionReplicaArn
\ No newline at end of file

M cfn/kms-key-backend-encryption.yaml => cfn/kms-key-backend-encryption.yaml +3 -3
@@ 1,4 1,4 @@
# Stack-KMSKeyForBackendEncryption
# KMSKeyForBackendEncryptionPrimary

AWSTemplateFormatVersion: 2010-09-09
Description: AWS KMS symetric key for backend encryption - Multi-Region Primary Key (e.g. S3, etcd, OpenTofu)


@@ 42,8 42,8 @@ Outputs:
  KMSKeyBackendEncryptionName:
    Value: !Ref KMSKeyBackendEncryption
    Export:
      Name: 'KMSKeyBackendEncryptionName'
      Name: !Sub ${AWS::StackName}-KMSKeyBackendEncryptionName
  KMSKeyBackendEncryptionArn:
    Value: !GetAtt KMSKeyBackendEncryption.Arn
    Export:
      Name: 'KMSKeyBackendEncryptionArn'
\ No newline at end of file
      Name: !Sub ${AWS::StackName}-KMSKeyBackendEncryptionArn
\ No newline at end of file