Skip to content

Commit

Permalink
Merge pull request #9 from matthiasbremser/bugfix/fix-duplicate-stack…
Browse files Browse the repository at this point in the history
…-module-outputs

fix duplication in stack module outputs
  • Loading branch information
tbugfinder committed Jul 7, 2022
2 parents 60791a9 + 70c328c commit 750581c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions hooks/createstackmoduleoutputs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,6 @@
moduleNames[moduleOut] = moduleBP
moduleSources[moduleBP] = fileName
uniqueBP[moduleBP] += 1

# create outputX.tf
outputTF.write("output \"module_#{moduleOut.gsub(/-/, '_')}\" {\n")
outputTF.write(" value = module.#{moduleValue}\n}\n")
end

# create moduleoutputs.tf
Expand Down

0 comments on commit 750581c

Please sign in to comment.