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

Restore aws to required providers #545

Closed
ajax-mykhailo-oleksiuk opened this issue Mar 20, 2024 · 2 comments
Closed

Restore aws to required providers #545

ajax-mykhailo-oleksiuk opened this issue Mar 20, 2024 · 2 comments

Comments

@ajax-mykhailo-oleksiuk
Copy link
Contributor

Versions

  • Module version [Required]: 6.5.3

  • Terraform version: 1.6.3

  • Provider version(s): hashicorp/aws 5.41.0

Reproduction Code [Required]

Due to dropped required provider here - https://github.com/terraform-aws-modules/terraform-aws-rds/pull/542/files#diff-dfd5848fa77a04d0343891fe859286cc210473d10f0e62c7f99f0d5ecf1a9927L3-L9

I'm getting this warning:

Warning: Reference to undefined provider
│
│   on master.tf line 35, in module "master":
│   35:     aws = aws.master
│
│ There is no explicit declaration for local provider name "aws" in module.master, so Terraform is assuming you mean to pass a configuration for "hashicorp/aws".
│
│ If you also control the child module, add a required_providers entry named "aws" with the source address "hashicorp/aws".

Expected behavior

Restore required_provider

Additional context

Similar issue with eks module - terraform-aws-modules/terraform-aws-ecs#180
And @antonbabenko's commenton it - terraform-aws-modules/terraform-aws-ecs#180 (comment)

@antonbabenko
Copy link
Member

Please open a PR where you revert changes to versions.tf

Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants