Why terraform is ignoring a manually created s3 bucket

0 votes

Hi Guys,

I have created some s3 buckets manually in AWS. But when I run the terraform command, it is not able to find the bucket. It is showing the below output.

No changes. Infrastructure is up-to-date.
This means that Terraform did not detect any differences between your
configuration and real physical resources that exist. As a result, no
actions need to be performed.
Sep 11, 2020 in Terraform by MD
• 95,360 points
483 views

1 answer to this question.

0 votes

Hi@akhtar,

Terraform is a declarative language, you can define what resources you want and it will create and manage them for you. It can only manage resources it knows about within the state. To allow terraform to manage resources created manually, you can import them into the state file.

answered Sep 11, 2020 by akhtar
• 38,230 points

Related Questions In Terraform

0 votes
1 answer

How to create a folder in S3 bucket using terraform?

Hi@akhtar, You can use aws_s3_bucket_object resource to create one ...READ MORE

answered Jun 11, 2020 in Terraform by MD
• 95,360 points
6,373 views
0 votes
1 answer

How to create a folder inside S3 Bucket using Terraform code?

Hi@akhtar, You can create a folder at the ...READ MORE

answered Jul 23, 2020 in Terraform by MD
• 95,360 points
1,780 views
0 votes
1 answer

How to create one s3 bucket using terraform?

Hi@akhtar, You can use aws_s3_bucket resources to create ...READ MORE

answered Jun 12, 2020 in Terraform by MD
• 95,360 points
3,064 views
0 votes
1 answer
0 votes
1 answer

How to import manually created s3 bucket in Terraform?

Hi@akhtar, Terraform will not able to get the ...READ MORE

answered Sep 11, 2020 in Terraform by MD
• 95,360 points
8,000 views
0 votes
1 answer
+2 votes
1 answer

How to create a workspace in terraform?

Hi@MD, Terraform has a command named terraform workspace. ...READ MORE

answered Aug 17, 2020 in Terraform by akhtar
• 38,230 points
354 views
0 votes
1 answer

How to set an IAM policy for a project in GCP using Terraform?

Hi@akhtar, You can create a policy and give ...READ MORE

answered Sep 13, 2020 in Terraform by akhtar
• 38,230 points
557 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP