Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when inlining a component template the nested stack also gets included when the name of the component has a underscore or hypenen in the name #74

Open
aaronwalker opened this issue Nov 13, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@aaronwalker
Copy link
Member

For example

CfhighlanderTemplate do
     Component template: 'c2', name: 'c3-test',  render: Inline
end

renders

---
AWSTemplateFormatVersion: '2010-09-09'
Resources:
  c3test:
    Properties:
      TemplateURL: "./c3-test.compiled.yaml"
      Parameters:
        c1OutParam:
          Ref: c3testc1OutParam
    Condition: Enablec3test
    Type: AWS::CloudFormation::Stack
  Bucket:
    Properties:
      BucketName:
        Fn::Join:
        - ''
        - - Ref: c3testc1OutParam
          - "-c2"
    Type: AWS::S3::Bucket
Parameters:
  Enablec3test:
    Type: String
    Default: 'false'
    NoEcho: false
    AllowedValues:
    - 'true'
    - 'false'
  c3testc1OutParam:
    Type: String
    Default: ''
    NoEcho: false
Description: c4@latest - vlatest
Conditions:
  Enablec3test:
    Fn::Equals:
    - Ref: Enablec3test
    - 'true'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant