Terraform-Associate-003 Exam Question 46

You modified your Terraform configuration to fix a typo in the resource ID by renaming it from photoes to photos. What configuration will you add to update the resource ID in state without destroying the existing resource?
Original configuration:
resource "aws_s3_bucket" "photoes" {
bucket_prefix = "images"
}
Updated configuration:
resource "aws_s3_bucket" "photos" {
bucket_prefix = "images"
}
  • Terraform-Associate-003 Exam Question 47

    Which configuration consistency errors does terraform validate report?
  • Terraform-Associate-003 Exam Question 48

    You have declared a variable called var.list which is a list of objects that all have an attribute id . Which options will produce a list of the IDs? Choose two correct answers.
  • Terraform-Associate-003 Exam Question 49

    All modules published on the official Terraform Registry are maintained and tested by HashiCorp.
  • Terraform-Associate-003 Exam Question 50

    Variables declared within a module are accessible outside of the module.