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
Copy file name to clipboardExpand all lines: 0-bootstrap/README-Jenkins.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,7 +123,7 @@ You arrived to these instructions because you are using the `jenkins_bootstrap`
123
123
### II. Create the SEED and CICD projects using Terraform
124
124
125
125
- Required information:
126
-
- Terraform version 0.13.6 - See [Requirements](#requirements) section for more details.
126
+
- Terraform version 0.13.7 - See [Requirements](#requirements) section for more details.
127
127
- The `terraform.tfvars` file with all the necessary values.
128
128
129
129
1. Get the appropriate credentials: run the following command with an account that has the [necessary permissions](./modules/jenkins-agent/README.md#Permissions).
@@ -135,7 +135,7 @@ You arrived to these instructions because you are using the `jenkins_bootstrap`
135
135
1. Run terraform commands.
136
136
- After the credentials are configured, we will create the `prj-b-seed` project (which contains the GCS state bucket and Terraform custom service account) and the `prj-b-cicd` project (which contains the Jenkins Agent, its custom service account and where we will add VPN configuration)
137
137
- **WARNING: Make sure you have commented-out the `cloudbuild_bootstrap` module and enabled the `jenkins_bootstrap` module in the `./main.tf` file**
138
-
- **Use Terraform 0.13.6** to run the terraform script with the commands below
138
+
- **Use Terraform 0.13.7** to run the terraform script with the commands below
- The scripts in this codebase use Terraform v0.13.6. You should use the same version in the manual steps to avoid [Terraform State Snapshot Lock](https://github.com/hashicorp/terraform/issues/23290) errors caused by differences in terraform versions.
- The scripts in this codebase use Terraform v0.13.7. You should use the same version in the manual steps to avoid [Terraform State Snapshot Lock](https://github.com/hashicorp/terraform/issues/23290) errors caused by differences in terraform versions.
Copy file name to clipboardExpand all lines: 4-projects/modules/infra_pipelines/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,8 +16,8 @@
16
16
| project\_prefix | Name prefix to use for projects created. |`string`|`"prj"`| no |
17
17
| terraform\_apply\_branches | List of git branches configured to run terraform apply Cloud Build trigger. All other branches will run plan by default. |`list(string)`| <pre>[<br> "development",<br> "non-production",<br> "production"<br>]</pre> | no |
18
18
| terraform\_validator\_release | Default terraform-validator release. |`string`|`"2021-03-22"`| no |
19
-
| terraform\_version | Default terraform version. |`string`|`"0.13.6"`| no |
20
-
| terraform\_version\_sha256sum | sha256sum for default terraform version. |`string`|`"55f2db00b05675026be9c898bdd3e8230ff0c5c78dd12d743ca38032092abfc9"`| no |
19
+
| terraform\_version | Default terraform version. |`string`|`"0.13.7"`| no |
20
+
| terraform\_version\_sha256sum | sha256sum for default terraform version. |`string`|`"4a52886e019b4fdad2439da5ff43388bbcc6cce9784fde32c53dcd0e28ca9957"`| no |
Copy file name to clipboardExpand all lines: docs/TROUBLESHOOTING.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,29 +53,29 @@ use the email address of `terraform_service_account` that is created by the Terr
53
53
When running the build for the branch `production` in step 3-networks in your **Foundation Pipeline** the build fails with:
54
54
55
55
```
56
-
state snapshot was created by Terraform v0.x.x, which is newer than current v0.13.6; upgrade to Terraform v0.x.x or greater to work with this state
56
+
state snapshot was created by Terraform v0.x.x, which is newer than current v0.13.7; upgrade to Terraform v0.x.x or greater to work with this state
57
57
```
58
58
59
59
**Cause:**
60
60
61
-
The manual deploy step for the shared environment in [3-networks](../3-networks#deploying-with-cloud-build) was execute with a Terraform version newer than version v0.13.6 used in the **Foundation Pipeline**.
61
+
The manual deploy step for the shared environment in [3-networks](../3-networks#deploying-with-cloud-build) was executed with a Terraform version newer than version v0.13.7 used in the **Foundation Pipeline**.
62
62
63
63
**Solution:**
64
64
65
65
You have two options:
66
66
67
67
#### Downgrade your local Terraform version
68
68
69
-
You will need to re-run the deploy of the 3-networks shared environment with Terraform v0.13.6.
69
+
You will need to re-run the deploy of the 3-networks shared environment with Terraform v0.13.7.
70
70
71
71
Steps:
72
72
73
73
- Go to folder `gcp-networks/envs/shared/`.
74
74
- Update `backend.tf` with your bucket name from the 0-bootstrap step.
75
75
- Run `terraform destroy` in the folder using the Terraform v0.x.x version.
76
76
- Delete the Terraform state file in `gs://YOUR-TF-STATE-BUCKET/terraform/networks/envs/shared/default.tfstate`. This bucket is in your **Seed Project**.
77
-
- Install Terraform v0.13.6.
78
-
- Re-run the manual deploy of 3-networks shared environment using Terraform v0.13.6.
77
+
- Install Terraform v0.13.7.
78
+
- Re-run the manual deploy of 3-networks shared environment using Terraform v0.13.7.
79
79
80
80
#### Upgrade your 0-bootstrap runner image Terraform version
81
81
@@ -89,7 +89,7 @@ Replace `0.x.x` with the actual version of your local Terraform version in the f
89
89
- Get the value of the SHA 256 SUM for the amd64 linux version of the release 0.x.x (`terraform_0.x.x_linux_amd64.zip`)
90
90
- Go to folder `0-bootstrap`.
91
91
- Edit the module `cloudbuild_bootstrap` in the Terraform [main.tf](../0-bootstrap/main.tf) file:
92
-
- Upgrade `terraform_version` from `"0.13.6"` to `"0.x.x"`
92
+
- Upgrade `terraform_version` from `"0.13.7"` to `"0.x.x"`
93
93
- Update `terraform_version_sha256sum` with the value you got from the file `terraform_0.x.x_SHA256SUMS`
0 commit comments