Skip to content

Commit

Permalink
added tags for provisioned instances
Browse files Browse the repository at this point in the history
Signed-off-by: Vivek Shankar <vshankar@progress.com>
  • Loading branch information
vivekshankar1 committed Jan 28, 2025
1 parent accfa6c commit 3fc9475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/automate-cli/cmd/chef-automate/genA2haRbTmpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ aws do
{{ if .Aws.Config.XCustomer }} customer "{{ .Aws.Config.XCustomer }}" {{ else }} customer "{{ .Aws.Config.XCustomer }}" {{ end }}
### DEPRECATED: AWS Tag: Production flag - set true for production environment
{{ if .Aws.Config.XProduction }} production "{{ .Aws.Config.XProduction }}" {{ else }} production "{{ .Aws.Config.XProduction }}" {{ end }}
tags({"X-Contact"=>"{{ .Aws.Config.XContact }}", "X-Dept"=>"{{ .Aws.Config.XDept }}", "X-Project"=>"{{ .Aws.Config.XProject }}", "X-Customer"=>"{{ .Aws.Config.XCustomer }}", "X-Production"=>"{{ .Aws.Config.XProduction }}"})
tags({"X-Contact"=>"{{ .Aws.Config.XContact }}", "X-Dept"=>"{{ .Aws.Config.XDept }}", "X-Project"=>"{{ .Aws.Config.XProject }}", "X-Customer"=>"{{ .Aws.Config.XCustomer }}", "X-Production"=>"{{ .Aws.Config.XProduction }}", "ephemeral"=>"{{ .Aws.Config.XEphemeral }}", "team"=>"{{ .Aws.Config.XTeam }}", "owner"=>"{{ .Aws.Config.XOwner }}", "application"=>"{{ .Aws.Config.XApplication }}", "solutions"=>"{{ .Aws.Config.XSolutions }}, "expiration"=>"{{ .Aws.Config.XExpiration }}"})
### DEPRECATED: Below tags are used for CHEF AWS infrastructure tagging
{{ if .Aws.Config.XEphemeral }} ephemeral "{{ .Aws.Config.XEphemeral }}" {{ else }} # ephemeral "{{ .Aws.Config.XEphemeral }}" {{ end }}
Expand Down

0 comments on commit 3fc9475

Please sign in to comment.