A Rename That Would Delete the Logs Bucket
A colleague renamed aws_s3_bucket.b to aws_s3_bucket.logs (and its versioning resource to match) in ~/infra/orders-api, because b said nothing. Now tofu plan wants to destroy the bucket orders-api-logs, with its logs, and create it again.
aws_s3_bucket.logs and aws_s3_bucket_versioning.logs in the config and in the state.tofu plan reports no changes.orders-api-logs keeps its objects.This machine has an AWS-style account (an emulator: nothing is billed). tofu and the aws CLI are both signed in as the account's administrator.
About this machine
Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.
Part of AWS Hands-On. Next step: Someone Opened SSH by Hand
Teaching or writing about this? Embed this lab on your page
Your machine is ready to start
A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.
No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.