Skip to content

Conversation

@wking
Copy link
Member

@wking wking commented Oct 15, 2018

We've been involved in the profile decision since e915ab1 (coreos/tectonic-installer#2320). Instead, callers should select their profile using environment variables (docs here and here) and/or a shared credentials file (docs here and here). The `aws' command line tool uses the same files and environment variables. Given that both our aws-sdx-go and Terraform dependencies agree on how these values should be collected, it seems easiest for us to just get out of the way and let the caller set this up directly.

Fixes #336.
CC @sallyom

@openshift-ci-robot openshift-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Oct 15, 2018
@abhinavdahiya
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 15, 2018
We've been involved in the profile decision since e915ab1
(platforms/aws: Allow specifying of AWS profile, 2017-11-07,
coreos/tectonic-installer#2320).  Instead, callers should select their
profile using environment variables [1,2] and/or a shared credentials
file [3,4].  The 'aws' command line tool uses the same files and
environment variables [5,6,7].  Given that both our aws-sdx-go and
Terraform dependencies agree on how these values should be collected,
it seems easiest for us to just get out of the way and let the caller
set this up directly.

[1]: https://www.terraform.io/docs/providers/aws/#environment-variables
[2]: https://docs.aws.amazon.com/sdk-for-go/api/aws/session/#hdr-Environment_Variables
[3]: https://www.terraform.io/docs/providers/aws/#shared-credentials-file
[4]: https://docs.aws.amazon.com/sdk-for-go/api/aws/session/#hdr-Shared_Config_Fields
[5]: https://docs.aws.amazon.com/cli/latest/userguide/cli-config-files.html
[6]: https://docs.aws.amazon.com/cli/latest/userguide/cli-multiple-profiles.html
[7]: https://docs.aws.amazon.com/cli/latest/userguide/cli-environment.html
@wking wking force-pushed the drop-aws-profile-opinions branch from b6987dd to 850f729 Compare October 15, 2018 19:31
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Oct 15, 2018
@wking
Copy link
Member Author

wking commented Oct 15, 2018

@abhinavdahiya: I pushed b6987dd -> 850f729 to fix a gofmt issue. Can you /lgtm again?

@abhinavdahiya
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 15, 2018
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya, wking

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [abhinavdahiya,wking]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 4ff5c80 into openshift:master Oct 15, 2018
@wking wking deleted the drop-aws-profile-opinions branch October 15, 2018 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants