THIS PROJECT IS ARCHIVED IN FAVOUR OF BRANCH BASED DEPLOYMENT OF https://github.com/bcgov/sso_terraform
If the terraform plan and apply actions are failing do to a failure to release the state lock. This can be unlocked by doing the following:
- Log into the AWS dev environment in a local terminal.
- In the folder
./terraform-v2
runterraform init
andterraform plan
. - If that errors out with a state issue reset the state using,
terraform force-unlock <<ID>>
. The GitHub actions should run smoothly again.