You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because CI/CD sometimes fail, we setup the Terraform state to be handled in backend (s3+dynamo) within the Sysdig AWS backend (sysdig-test-account).
85
85
86
-
#### Howto unlock terraform backend
86
+
#### Remote state cleanup from local
87
87
88
+
In case you need to handle terraform backend state from failing kitchen tests, some guidance for using the `backend.tf` remote state manifest, present on each test
89
+
- Configure same parameters as the github action, that is `AWS_PROFILE`, and leave default `name` and `region` values
90
+
- Kitchen works with `terraform workspaces` so, in case you want to fix a specific test, switch to that workspace after the `terraform init` with `terraform workspace select WORKSPACE`
91
+
- Perform the desired terraform task
92
+
93
+
You can also use `kitchen destroy` instead of `terraform` but the requirements are the same, except that the workspace will be managed through kitchen
In case you need to handle terraform backend state from failing kitchen tests, some guidance for using the `backend.tf` remote state manifest, present on each test
102
-
- Configure same parameters as the github action, that is `AWS_PROFILE`, and leave default `name` and `region` values
103
-
- Kitchen works with `terraform workspaces` so, in case you want to fix a specific test, switch to that workspace after the `terraform init` with `terraform workspace select WORKSPACE`
104
-
- Perform the desired terraform task
105
-
106
-
You can also use `kitchen destroy` instead of `terraform` but the requirements are the same, except that the workspace will be managed through kitchen
0 commit comments