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
One of the things that we would like to do is add a git commit tag to all of our deployed resources. I feel like the easiest way to do this would be to allow for a !nclude to include files and blocks.
I would like to be able to define an inline include like so:
or even an !include ./commit.yaml where the yaml contains a block with an anchor that can then be anchored into other locations in the file.
Is anyone doing this in a manner that I haven't thought of? I have considered creating a stack that just contains an out put that has the hash in it and using the output as a nested variable but that seems overly complicated...
The text was updated successfully, but these errors were encountered:
One of the things that we would like to do is add a git commit tag to all of our deployed resources. I feel like the easiest way to do this would be to allow for a !nclude to include files and blocks.
I would like to be able to define an inline include like so:
Version: 3 Blueprints: vpc: Order: 1 Region: us-west-2 Template: ./templates/vpc.yaml StackPolicy: ALLOW_ALL Capabilities: [CAPABILITY_IAM] Package: true Tags: au:application:owner: Operations au:application:role: Infrastructure au:security:classification: private au:security:access: IT !include: ./commit.yaml
or even an !include ./commit.yaml where the yaml contains a block with an anchor that can then be anchored into other locations in the file.
Is anyone doing this in a manner that I haven't thought of? I have considered creating a stack that just contains an out put that has the hash in it and using the output as a nested variable but that seems overly complicated...
The text was updated successfully, but these errors were encountered: