Hi all,
I keep getting following error when running terraform apply:
<span>│ Error: Backend initialization required, please run "terraform init"</span>
<span>│ </span>
<span>│ Reason: Initial configuration of the requested backend "s3"</span>
<span>│ The "backend" is the interface that Terraform uses to store state,</span>
<span>│ perform operations, etc. If this message is showing up, it means that the</span>
<span>│ Terraform configuration you're using is using a custom configuration for</span>
<span>│ the Terraform backend.</span>
<span>│ Changes to backend configurations require reinitialization. This allows</span>
<span>│ Terraform to set up the new configuration, copy existing state, etc. Please</span>
<span>│ run</span>
<span>│ "terraform init" with either the "-reconfigure" or "-migrate-state" flags</span>
<span>│ to</span>
<span>│ use the current configuration.</span>
<span>│ If the change reason above is incorrect, please verify your configuration</span>
<span>│ hasn't changed and try again. At this point, no changes to your existing</span>
<span>│ configuration or state have been made.</span>
<span>"-reconfigure" and "-migrate-state" but it still is a no go.</span>
<span>Looking for an urgent suggestions to fix this.</span>
@Prateek Tripathi Welcome to the Atlassian community
I think this should be able to help you out https://stackoverflow.com/questions/68985429/backend-initialization-required-please-run-terraform-init
It looks like you're new here. Sign in or register to get started.