Open rynowak opened 7 months ago
:wave: @rynowak Thanks for filing this bug report.
A project maintainer will review this report and get back to you soon. If you'd like immediate help troubleshooting, please visit our Discord server.
For more information on our triage process please visit our triage overview
:+1: We've reviewed this issue and have agreed to add it to our backlog. Please subscribe to this issue for notifications, we'll provide updates when we pick it up.
We also welcome community contributions! If you would like to pick this item up sooner and submit a pull request, please visit our contribution guidelines and assign this to yourself by commenting "/assign" on this issue.
For more information on our triage process please visit our triage overview
This was an intentional decision. A fix could be to improve documentation to mention section is required. and any TF error message should point to our docs.
Steps to reproduce
required_providers
block from the Terraform module and republish itObserved behavior
When you omit the
required_providers.aws
block Radius will not inject the AWS credentials. This is an authoring mistake in the recipe, but the error message is confusing.This fails to deploy with an error like:
The interesting part is this:
Because this is an EKS cluster, the Terraform driver already has access to AWS credentials associated with the node. This is confusing, and if you didn't know how EKS works, it might take a while to figure it out.
Desired behavior
Best: Radius can detect the use of the AWS provider in the nested module.
In this example I'm using a module from the public gallery: https://github.com/rynowak/demo-recipes/blob/main/aws/terraform/redis-memorydb/main.tf#L23
However, the Terraform driver can't figure out that I needed AWS credentials.
OK: Better guidance, error messages, or troubleshooting guides.
Workaround
This was an authoring mistake, so fixing the bug in my module resolves the issue.
rad Version
v0.30.0-rc3
Operating system
No response
Additional context
No response
Would you like to support us?
AB#11093