Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use top-level default settings for global #275

Merged
merged 1 commit into from
Jun 3, 2019
Merged

Conversation

mbarrien
Copy link
Contributor

@mbarrien mbarrien commented Jun 3, 2019

Summary

Changes the generated fogg output to use the top-level defaults when rendering the terraform_remote_state pointing at "global" component, which make sit properly reflect the bucket and path of the global component instead of getting overridden by any account/component level override.

Note that this may have an effect of using the top-level default AWS profile for global instead of any override too. In the particular case of AWS profile, this may not be the desired behavior.

Test Plan

Existing golden file tests were updated to reflect the correct output. A test case was added to the v2_full staging/comp1 component to reflect an override of the profile at the component level.

@mbarrien mbarrien requested a review from ryanking June 3, 2019 23:06
@mbarrien mbarrien requested a review from a team as a code owner June 3, 2019 23:06
@codecov
Copy link

codecov bot commented Jun 3, 2019

Codecov Report

Merging #275 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #275      +/-   ##
==========================================
+ Coverage   80.01%   80.04%   +0.02%     
==========================================
  Files          17       17              
  Lines        1406     1408       +2     
==========================================
+ Hits         1125     1127       +2     
  Misses        160      160              
  Partials      121      121
Impacted Files Coverage Δ
plan/plan.go 92.09% <100%> (+0.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6460ed7...190d3c6. Read the comment docs.

@mbarrien mbarrien merged commit 9b1f947 into master Jun 3, 2019
@mbarrien mbarrien deleted the mbarrien/global branch June 3, 2019 23:31
palasha pushed a commit to palasha/fogg that referenced this pull request Apr 7, 2020
@vincenthsh vincenthsh mentioned this pull request Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants