terraform-aws-tfstate-backend icon indicating copy to clipboard operation
terraform-aws-tfstate-backend copied to clipboard

Fix assume_role handling when role_arn is given

Open mikalinnanoja-rovio opened this issue 10 months ago • 3 comments

There is a syntax error in the assume_role block with missing equals sign.

As this part has anyway required newer terraform to work, document it in variable definition of role_arn input.

Related to

  • #171

I did not commit make init && make readme outputs because there are some amount of previous unrelated changes it generates.

Tested on terraform 1.6.6 and 1.10.5 with latest 5.x provider.

mikalinnanoja-rovio avatar Jan 30 '25 11:01 mikalinnanoja-rovio

/terratest

RoseSecurity avatar Jun 19 '25 13:06 RoseSecurity

The 1.6.0 minimum seems almost accurate. According to this reference, it looks like 1.6.1 is needed for the equal sign requirement.

  • https://github.com/hashicorp/terraform/issues/33994
  • https://registry.terraform.io/providers/hashicorp/aws/latest/docs

nitrocode avatar Jun 22 '25 22:06 nitrocode

💥 This pull request now has conflicts. Could you fix it @mikalinnanoja-rovio? 🙏

mergify[bot] avatar Sep 17 '25 13:09 mergify[bot]