Skip to content

Commit

Permalink
fix: custom cfn out for each secret
Browse files Browse the repository at this point in the history
  • Loading branch information
anayeaye committed Jan 17, 2024
1 parent b92c3ff commit aa605e8
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions infra/stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,18 +224,18 @@ def _create_secret(
secret_string_value=SecretValue.unsafe_plain_text(json.dumps(secret_dict)),
)

CfnOutput(
self,
f"{service_id}-secret-output",
export_name=f"{stack_name}-{service_id}-secret",
value=secret.secret_name,
)
CfnOutput(
self,
f"{service_id}-secret-arn-output",
export_name=f"{stack_name}-{service_id}-secret-arn",
value=secret.secret_arn,
)
# CfnOutput(
# self,
# f"{service_id}-secret-output",
# export_name=f"{stack_name}-{service_id}-secret",
# value=secret.secret_name,
# )
# CfnOutput(
# self,
# f"{service_id}-secret-arn-output",
# export_name=f"{stack_name}-{service_id}-secret-arn",
# value=secret.secret_arn,
# )

return secret

Expand Down

0 comments on commit aa605e8

Please sign in to comment.