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

Access to metadata in tags? #150

Open
lox opened this issue Dec 3, 2015 · 8 comments
Open

Access to metadata in tags? #150

lox opened this issue Dec 3, 2015 · 8 comments

Comments

@lox
Copy link

lox commented Dec 3, 2015

I'm trying to access the local tags used in some YAML I'm parsing:

  LaunchConfiguration:
    Type: AWS::AutoScaling::LaunchConfiguration
    Properties:
      AssociatePublicIpAddress: true
      InstanceMonitoring: true
      SecurityGroups: [ $(InstanceSecurityGroup) ]
      ImageId: $(AWSRegionToAMI[$(AWS::Region)][AMIID])
      InstanceType: $(InstanceType)
      IamInstanceProfile: $(EC2InstanceProfile)
      KeyName: $(KeyName)
      UserData: !Base64 |
        #!/bin/bash -xve
        yum install -y aws-cfn-bootstrap
        /opt/aws/bin/cfn-init -v --stack $(AWS::StackName) --resource LaunchConfiguration --region $(AWS::Region)
        /opt/aws/bin/cfn-signal -e \$? --stack $(AWS::StackName) --resource ECSAutoScalingGroup --region $(AWS::Region)

I'm specifically interested in accessing the !Base64 local tag, which seems to be dropped when parsing. Is there any way to get access to it?

@aelsabbahy
Copy link

Did you ever find an answer to this?

@lox
Copy link
Author

lox commented Dec 9, 2016 via email

@niemeyer
Copy link
Contributor

This will be sorted in the on going v3 work.

@svyotov
Copy link

svyotov commented Nov 27, 2018

@niemeyer when should we expect v3 and is there a place were we can access it now even in a dev stage?

@niemeyer
Copy link
Contributor

@svyotov I've been working on it (actually, on the package that depends on the new features, which is my guideline), and hope to get the release out before the EOY.

@fgimian
Copy link

fgimian commented Dec 30, 2018

Hey @niemeyer, thanks so much for your work on this package.

I couldn't seem to see a v3 branch in this repository. Is there somewhere we can check out your progress on v3 and try out an early version? 😄

Thanks heaps
Fotis

@lox
Copy link
Author

lox commented Dec 30, 2018

Might be worth pinning an issue relating to v3 at the top of issues @niemeyer?

@fgimian it's not available anywhere, and won't be until it's ready, based on previous feedback from @niemeyer!

@fgimian
Copy link

fgimian commented Dec 30, 2018

No worries @lox, thanks for the reply 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants