Created
July 15, 2019 06:28
-
-
Save kaihendry/883431fa9877ed8bf8488ecc24dde57e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[hendry@t480s freenas]$ terraform plan | |
Error: Provider configuration not present | |
To work with aws_s3_bucket.b its original provider configuration at | |
provider.aws.mine is required, but it has been removed. This occurs when a | |
provider configuration is removed while objects created by that provider still | |
exist in the state. Re-add the provider configuration to destroy | |
aws_s3_bucket.b, after which you can remove the provider configuration again. | |
[hendry@t480s freenas]$ cat test.tf | |
provider "aws" { | |
region = "ap-southeast-1" | |
} | |
resource "aws_s3_bucket" "b" { | |
provider = "aws.mine" | |
bucket = "my-tf-test-bucket" | |
acl = "private" | |
tags = { | |
Name = "My bucket" | |
Environment = "Dev" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment