Skip to content

Commit

Permalink
Merge pull request #21364 from hashicorp/b-asg-tag-gen
Browse files Browse the repository at this point in the history
generator/tags: include `PropagateAtLaunch` key in TagData for `autoscaling`
  • Loading branch information
anGie44 authored Oct 19, 2021
2 parents ab85b1c + 1b2ae86 commit fe61d69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions internal/generate/tags/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ func KeyValueTags(tags interface{}{{ if .TagTypeIDElem }}, identifier string{{ i
tagData.AdditionalBoolFields = make(map[string]*bool)
{{- if .TagTypeAddBoolElem }}
tagData.AdditionalBoolFields["{{ .TagTypeAddBoolElemSnake }}"] = tag.{{ .TagTypeAddBoolElem }}
tagData.AdditionalBoolFields["{{ .TagTypeAddBoolElem }}"] = tag.{{ .TagTypeAddBoolElem }}
{{- end }}
{{- if .TagTypeIDElem }}
Expand Down Expand Up @@ -550,7 +550,7 @@ func KeyValueTags(tags interface{}{{ if .TagTypeIDElem }}, identifier string{{ i
{{- if .TagTypeAddBoolElem }}
tagData.AdditionalBoolFields = make(map[string]*bool)
tagData.AdditionalBoolFields["{{ .TagTypeAddBoolElemSnake }}"] = tag.{{ .TagTypeAddBoolElem }}
tagData.AdditionalBoolFields["{{ .TagTypeAddBoolElem }}"] = tag.{{ .TagTypeAddBoolElem }}
{{- end }}
{{- if .TagTypeIDElem }}
Expand Down
4 changes: 2 additions & 2 deletions internal/service/autoscaling/tags_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fe61d69

Please sign in to comment.