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

AWS Opsworks tests bring their own IAM objects #4009

Merged
merged 1 commit into from
Nov 25, 2015
Merged

AWS Opsworks tests bring their own IAM objects #4009

merged 1 commit into from
Nov 25, 2015

Conversation

apparentlymart
Copy link
Contributor

Previously we assumed the existence of some default objects that most Opsworks users have because the Opsworks console creates them by default when a new stack is created.

However, that meant that these tests wouldn't work correctly for anyone who either had never used Opsworks via the UI or who had never accepted the default of having the console create some predefined IAM objects to use. It may also have led to some weird failures if a particular user had customized the settings for these default objects.

Now the tests create suitable IAM roles, a policy and an instance profile and use these when creating Opsworks stacks, avoiding any dependency on any pre-existing objects.

This fixes #3998.

Previously we assumed the existence of some default objects that most
Opsworks users have because the Opsworks console creates them by default
when a new stack is created.

However, that meant that these tests wouldn't work correctly for anyone
who either had never used Opsworks via the UI or who had never accepted
the default of having the console create some predefined IAM objects to
use. It may also have led to some weird failures if a particular user had
customized the settings for these default objects.

Now the tests create suitable IAM roles, a policy and an instance profile
and use these when creating Opsworks stacks, avoiding any dependency
on any pre-existing objects.

This fixes #3998.
@apparentlymart apparentlymart self-assigned this Nov 21, 2015
@apparentlymart apparentlymart changed the title AWS Opsworks tests bring their own IAM objects. AWS Opsworks tests bring their own IAM objects Nov 21, 2015
@jen20
Copy link
Contributor

jen20 commented Nov 25, 2015

LGTM.

jen20 added a commit that referenced this pull request Nov 25, 2015
provider/aws: AWS Opsworks tests bring their own IAM objects
@jen20 jen20 merged commit b7a12e3 into hashicorp:master Nov 25, 2015
@mrjefftang mrjefftang mentioned this pull request Apr 5, 2016
3 tasks
@ghost
Copy link

ghost commented Apr 29, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AWS OpsWorks acceptance tests not self-sufficient
2 participants