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

add ability to dump aws/config to stdout #277

Merged
merged 3 commits into from
Jun 4, 2019

Conversation

ryanking
Copy link
Contributor

@ryanking ryanking commented Jun 3, 2019

For running in Atlantis, we need to be able to generate an entire aws/config file non-interactively.

This PR will allow you to do that with fogg exp aws-config -a -e -r rolename

It also removes the code for generating the profile session name, since that seems to be a dead-end in terms of enforcement.

Test Plan

  • unit tests, manual test against shared-infra repo

References

For running in Atlantis, we need to be able to generate an entire aws/config file non-interactively.

This PR will allow you to do that with fogg exp aws-config -a -e -r rolename

It also removes the code for generating the profile session name, since that seems to be a dead-end in terms of enforcement.
@ryanking ryanking requested a review from edulop91 June 3, 2019 23:39
@ryanking ryanking requested a review from a team as a code owner June 3, 2019 23:39
@codecov
Copy link

codecov bot commented Jun 3, 2019

Codecov Report

Merging #277 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #277   +/-   ##
=======================================
  Coverage   80.04%   80.04%           
=======================================
  Files          17       17           
  Lines        1408     1408           
=======================================
  Hits         1127     1127           
  Misses        160      160           
  Partials      121      121

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 a5c47fe...1f4f63e. Read the comment docs.

@mbarrien
Copy link
Contributor

mbarrien commented Jun 3, 2019

Looks okay but needs a rebase against the Go modules PR I just merged.

@czimergebot czimergebot merged commit be10ec9 into master Jun 4, 2019
@ryanking ryanking deleted the ryanking/aws_config_atlantis branch March 9, 2020 22:30
palasha pushed a commit to palasha/fogg that referenced this pull request Apr 7, 2020
add ability to dump aws/config to stdoutFor running in Atlantis, we need to be able to generate an entire aws/config file non-interactively.

This PR will allow you to do that with fogg exp aws-config -a -e -r rolename

It also removes the code for generating the profile session name, since that seems to be a dead-end in terms of enforcement.

### Test Plan
* unit tests, manual test against shared-infra repo

### References
@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.

4 participants