generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
For my project it would be cool to tag the application stacks` Cloudformation stacks. For certain short-lived envs, we introduce a specific tag, which we would use for our cleanup process. I tried to tag the application stacks as I did for the Codepipeline solution like this:
export class ApplicationStage extends Stage {
constructor(scope: Construct, id: string, props: ApplicationStageProps) {
super(scope, id, props);
const stack = new ApplicationStack(this, 'app', {
envName: props.envName,
isDevBranch: props.isDevBranch,
branchName: props.branchName,
});
Object.entries(props.tags).forEach(([key, value]) => {
Tags.of(stack).add(key, value);
});
}
}
For the traditional Codepipeline solution, this solution tags the Cloudformation stack of the application, but unfortunately in GithubActions, this does not set the tags for me.
Could you please help me out with this issue?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels