skip to Main Content

CDK: How to use same Iam role between 2 different stacks? – Amazon Web Sevices

I have a stack which creates 2 different codebuild projects. const codeBuildProject = new CodeBuildProjects(this, 'pipelineCodeBuildProjects', { PlanProjectName: 'one-project', DeployProjectName: 'second-project' OneProjectIamRoleName: 'iam-role', twoProjectIamRoleName: 'iam-role' }) This is stack class export class CodeBuildProjects extends cdk.Stack { public readonly plan: codeBuildProject;…

VIEW QUESTION

Cloudformation Outputs: Template format error: Every Value member must be a string – Amazon Web Sevices

Received this error message from Cloudformation after adding output block below: Template format error: Every Value member must be a string. Outputs: NetFwEndpointIds: Description: Array for Network FW Endpoint Ids Value: !GetAtt NetFw.EndpointIds Export: Name: !Sub '${AWS::StackName}-EndpointIds' https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html EndpointIds The…

VIEW QUESTION
Back To Top
Search