Skip to content

Commit

Permalink
Merge pull request #75 from aaronwalker/inline_with_unsafe_name
Browse files Browse the repository at this point in the history
allows for inlining components with unsafe cfn names
  • Loading branch information
aaronwalker authored Nov 14, 2018
2 parents 079af16 + 699b3f6 commit fd8c18b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ GEM
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.0)
aws-sigv4 (1.0.2)
cfndsl (0.16.6)
cfndsl (0.16.7)
diff-lcs (1.3)
duplicate (1.1.1)
faraday (0.15.2)
Expand Down
2 changes: 1 addition & 1 deletion lib/util/cloudformation.util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def self.remove_inlined_component_stacks(component, template)
model = component.cfn_model_raw
template.subcomponents.each do |sub_component|
next unless sub_component.inlined
model['Resources'].delete(sub_component.component_loaded.name)
model['Resources'].delete(sub_component.cfn_name)
end
end

Expand Down

0 comments on commit fd8c18b

Please sign in to comment.