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

Opswork layers tagging support #11667

Merged
merged 17 commits into from
Mar 17, 2020
Merged

Opswork layers tagging support #11667

merged 17 commits into from
Mar 17, 2020

Conversation

DrFaust92
Copy link
Collaborator

@DrFaust92 DrFaust92 commented Jan 19, 2020

Unfortunately all layers resource are coupled so i cant break this apart

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #3546 and Relates #10688

Release note for CHANGELOG:

aws_resource_opsworks_custom_layer: add `tags` argument and `arn` attribute + plan time validation to `custom_instance_profile_arn` argument.

aws_resource_opsworks_rails_app_layer: add `tags` argument and `arn` attribute + plan time validation to `custom_instance_profile_arn` argument.

aws_resource_opsworks_ganglia_layer: add `tags` argument and `arn` attribute + plan time validation to `custom_instance_profile_arn` argument.

aws_resource_opsworks_haproxy_layer: add `tags` argument and `arn` attribute + plan time validation to `custom_instance_profile_arn` argument.

aws_resource_opsworks_php_app_layer: add `tags` argument and `arn` attribute + plan time validation to `custom_instance_profile_arn` argument.

aws_resource_opsworks_static_web_layer: add `tags` argument and `arn` attribute + plan time validation to `custom_instance_profile_arn` argument.

aws_resource_opsworks_java_app_layer: add `tags` argument and `arn` attribute + plan time validation to `custom_instance_profile_arn` argument.

aws_resource_opsworks_memcached_layer: add `tags` argument and `arn` attribute + plan time validation to `custom_instance_profile_arn` argument.

aws_resource_opsworks_noejs_app_layer: add `tags` argument and `arn` attribute + plan time validation to `custom_instance_profile_arn` argument.

aws_resource_opsworks_mysql_layer: add `tags` argument and `arn` attribute + plan time validation to `custom_instance_profile_arn` argument.

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'
--- PASS: TestAccAWSOpsworksCustomLayer_basic (98.36s)
--- PASS: TestAccAWSOpsworksCustomLayer_tags (205.81s)
--- PASS: TestAccAWSOpsworksCustomLayer_noVPC (91.78s)

--- PASS: TestAccAWSOpsworksRailsAppLayer_basic (141.03s)
--- PASS: TestAccAWSOpsworksRailsAppLayer_tags (198.98s)

--- PASS: TestAccAWSOpsworksGangliaLayer_basic (148.00s)
--- PASS: TestAccAWSOpsworksGangliaLayer_tags (296.36s)

--- PASS: TestAccAWSOpsworksHAProxyLayer_basic (99.43s)
--- PASS: TestAccAWSOpsworksHAProxyLayer_tags (212.06s)

--- PASS: TestAccAWSOpsworksPhpAppLayer_basic (118.05s)
--- PASS: TestAccAWSOpsworksPhpAppLayer_tags (232.10s)

--- PASS: TestAccAWSOpsworksStaticWebLayer_basic (97.15s)
--- PASS: TestAccAWSOpsworksStaticWebLayer_tags (215.67s)

--- PASS: TestAccAWSOpsworksJavaAppLayer_basic (91.78s)
--- PASS: TestAccAWSOpsworksJavaAppLayer_tags (206.72s)

--- PASS: TestAccAWSOpsworksMysqlLayer_basic (100.69s)
--- PASS: TestAccAWSOpsworksMysqlLayer_tags (217.03s)

--- PASS: TestAccAWSOpsworksNodejsAppLayer_basic (102.87s)
--- PASS: TestAccAWSOpsworksNodejsAppLayer_tags (212.98s)

--- PASS: TestAccAWSOpsworksMemcachedLayer_basic (98.90s)
--- PASS: TestAccAWSOpsworksMemcachedLayer_tags (232.82s)

@DrFaust92 DrFaust92 requested a review from a team January 19, 2020 16:58
@ghost ghost added needs-triage Waiting for first response or review from a maintainer. size/XL Managed by automation to categorize the size of a PR. service/opsworks Issues and PRs that pertain to the opsworks service. documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Jan 19, 2020
@ghost ghost added size/XXL Managed by automation to categorize the size of a PR. and removed size/XL Managed by automation to categorize the size of a PR. labels Jan 19, 2020
@DrFaust92 DrFaust92 changed the title [WIP]Opswork layers tagging support Opswork layers tagging support Jan 20, 2020
@bflad bflad added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Mar 17, 2020
@bflad bflad added this to the v2.54.0 milestone Mar 17, 2020
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @DrFaust92 🚀

Output from acceptance testing:

--- PASS: TestAccAWSOpsworksCustomLayer_basic (59.50s)
--- PASS: TestAccAWSOpsworksCustomLayer_noVPC (61.12s)
--- PASS: TestAccAWSOpsworksCustomLayer_tags (99.55s)
--- PASS: TestAccAWSOpsworksGangliaLayer_basic (132.25s)
--- PASS: TestAccAWSOpsworksGangliaLayer_tags (94.87s)
--- PASS: TestAccAWSOpsworksHAProxyLayer_basic (84.54s)
--- PASS: TestAccAWSOpsworksHAProxyLayer_tags (153.30s)
--- PASS: TestAccAWSOpsworksJavaAppLayer_basic (131.71s)
--- PASS: TestAccAWSOpsworksJavaAppLayer_tags (150.45s)
--- PASS: TestAccAWSOpsworksMemcachedLayer_basic (66.67s)
--- PASS: TestAccAWSOpsworksMemcachedLayer_tags (67.06s)
--- PASS: TestAccAWSOpsworksMysqlLayer_basic (117.45s)
--- PASS: TestAccAWSOpsworksMysqlLayer_tags (69.08s)
--- PASS: TestAccAWSOpsworksNodejsAppLayer_basic (77.12s)
--- PASS: TestAccAWSOpsworksNodejsAppLayer_tags (119.75s)
--- PASS: TestAccAWSOpsworksPhpAppLayer_basic (55.00s)
--- PASS: TestAccAWSOpsworksPhpAppLayer_tags (132.00s)
--- PASS: TestAccAWSOpsworksRailsAppLayer_basic (65.28s)
--- PASS: TestAccAWSOpsworksRailsAppLayer_tags (114.16s)
--- PASS: TestAccAWSOpsWorksStack_classicEndpoints (38.80s)
--- PASS: TestAccAWSOpsworksStack_CustomCookbooks_SetPrivateProperties (30.01s)
--- PASS: TestAccAWSOpsworksStack_noVpcBasic (30.73s)
--- PASS: TestAccAWSOpsworksStack_noVpcChangeServiceRoleForceNew (52.61s)
--- PASS: TestAccAWSOpsworksStack_noVpcCreateTags (41.72s)
--- PASS: TestAccAWSOpsworksStack_vpc (72.77s)
--- PASS: TestAccAWSOpsworksStaticWebLayer_basic (61.13s)
--- PASS: TestAccAWSOpsworksStaticWebLayer_tags (66.97s)

@bflad bflad merged commit d22f4ff into hashicorp:master Mar 17, 2020
bflad added a commit that referenced this pull request Mar 17, 2020
@ghost
Copy link

ghost commented Mar 19, 2020

This has been released in version 2.54.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@DrFaust92 DrFaust92 deleted the opswork-tags branch March 22, 2020 21:40
@ghost
Copy link

ghost commented Apr 16, 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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/opsworks Issues and PRs that pertain to the opsworks service. size/XXL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add support for tags for aws_opsworks_custom_layer
2 participants