Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Update required attribute for instance profiles from roles -> role #117

Merged
merged 1 commit into from
Apr 24, 2017

Conversation

sds
Copy link
Contributor

@sds sds commented Apr 24, 2017

As of version 0.9.3, Terraform deprecates roles in favor of role.
This manifests itself with warnings like:

* aws_iam_instance_profile.my-profile: "roles": [DEPRECATED] Use
  `role` instead. Only a single role can be passed to an IAM
  Instance Profile

Update our custom validation to expect the newer attribute name. This
breaks support for users using Terraform versions older than 0.9.3.

See hashicorp/terraform#13130 for additional
context.

As of version 0.9.3, Terraform deprecates `roles` in favor of `role`.
This manifests itself with warnings like:

    * aws_iam_instance_profile.my-profile: "roles": [DEPRECATED] Use
      `role` instead. Only a single role can be passed to an IAM
      Instance Profile

Update our custom validation to expect the newer attribute name. This
breaks support for users using Terraform versions older than 0.9.3.

See hashicorp/terraform#13130 for additional
context.
@sds sds merged commit 5f14a28 into master Apr 24, 2017
@sds sds deleted the update-role-attr-instance-profile branch April 24, 2017 20:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants