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

Duplicate provider configuration #174

Open
timmy6930 opened this issue Jun 21, 2021 · 0 comments
Open

Duplicate provider configuration #174

timmy6930 opened this issue Jun 21, 2021 · 0 comments

Comments

@timmy6930
Copy link

Tried to deploy this solution and get the following error when I run terrahub init:

[landing_zone_cloudtrail]
Initializing the backend...
❌ [terraform-landing-zone] There are some problems with the configuration, described below.

The Terraform configuration must be valid before initialization so that
Terraform can determine which modules and providers need to be installed.

❌ [terraform-landing-zone] Error: Duplicate provider configuration

on provider.tf line 8:

❌ [terraform-landing-zone] {

A provider configuration for "aws" with alias "default" was already given at

❌ [terraform-landing-zone] provider.tf:1,1-15. Each configuration for the same provider must have a
distinct alias.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant