You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
In this case the default event bus always exists and its vended log group might exist. CloudFormation can auto-import existing resources for a CreateChangeSet (doc) (news). But I can't just use Rain because it doesn't seem to support this feature yet.
Instead I need to use a Bash script like this to use the CloudFormation APIs on the first run:
That script is going to look the same any time I need to use this import feature, so it would be great if Rain could just handle this automatically in the rain deploy command. If there's a good reason that it shouldn't be the default behavior then maybe a new rain deploy --import-existing-resources option could handle it.
I want to deploy a template like this to manage the default event bus with logging:
In this case the default event bus always exists and its vended log group might exist. CloudFormation can auto-import existing resources for a CreateChangeSet (doc) (news). But I can't just use Rain because it doesn't seem to support this feature yet.
Instead I need to use a Bash script like this to use the CloudFormation APIs on the first run:
That script is going to look the same any time I need to use this import feature, so it would be great if Rain could just handle this automatically in the
rain deploycommand. If there's a good reason that it shouldn't be the default behavior then maybe a newrain deploy --import-existing-resourcesoption could handle it.