Now everything should be properly configure and it is time to run the terraform script to stand up the app.
You can initialize the setup by running
yes to create the initial infrastructure.
Do you want to perform these actions in workspace "base"?Terraform will perform the actions described above.Only 'yes' will be accepted to approve.Enter a value: yes
Answer yes to migrate the state to the remote
Do you want to migrate all workspaces to "s3"?Both the existing "local" backend and the newly configured "s3" backendsupport workspaces. When migrating between backends, Terraform will copyall workspaces (with the same names). THIS WILL OVERWRITE any conflictingstates in the destination.Terraform initialization doesn't currently migrate only select workspaces.If you want to migrate a select number of workspaces, you must manuallypull and push those states.If you answer "yes", Terraform will migrate all states. If you answer"no", Terraform will abort.Enter a value: yes
And now the application stack can be run with the
staging.sh script. Answer
yes to any further prompts to grant permission to create resources. After this task completes, the app should be visible at the specified domain.
If the build fails due to services being created out of order and missing dependencies just run the
staging.sh script again.