Skip to content

Commit

Permalink
Revert "Upgrade to Terraform 1.0 (#939)" (#950)
Browse files Browse the repository at this point in the history
This reverts commit 12cc56a.
  • Loading branch information
xingao267 authored Jul 12, 2021
1 parent ec52303 commit f18accf
Show file tree
Hide file tree
Showing 67 changed files with 131 additions and 129 deletions.
11 changes: 3 additions & 8 deletions build/presubmit_int.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Terraform version used is 1.0.1.
# Terraform version used is 0.14.8.
substitutions:
_CFT_TOOLS_CONTAINER: "gcr.io/cloud-foundation-cicd/cft/developer-tools@sha256:22113ceabae0cccfc8eaeb3a9521a0950fa75e2fe38777f47c3d32f071cc7834"
_CFT_TOOLS_CONTAINER: "gcr.io/cloud-foundation-cicd/cft/developer-tools@sha256:8b0d85766044b0e4701729f9e70ee78dcecdb8688bd86915eb2a1cb00580ba1e"

timeout: 3600s

options:
env:
- "GOPATH=/go"
# Unset TF_PLUGIN_CACHE_DIR so different build steps do not share Terraform cache.
# It's set to `/workspace/test/integration/tmp/.terraform` in the CFT Developer Tool's container
# for CFT's testing purpose. We don't need it.
- "TF_PLUGIN_CACHE_DIR="
env: ["GOPATH=/go"]
machineType: "N1_HIGHCPU_8"

steps:
Expand Down
11 changes: 3 additions & 8 deletions build/presubmit_unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Terraform version used is 1.0.1.
# Terraform version used is 0.14.8.
substitutions:
_CFT_TOOLS_CONTAINER: "gcr.io/cloud-foundation-cicd/cft/developer-tools@sha256:22113ceabae0cccfc8eaeb3a9521a0950fa75e2fe38777f47c3d32f071cc7834"
_CFT_TOOLS_CONTAINER: "gcr.io/cloud-foundation-cicd/cft/developer-tools@sha256:8b0d85766044b0e4701729f9e70ee78dcecdb8688bd86915eb2a1cb00580ba1e"

options:
env:
- "GOPATH=/go"
# Unset TF_PLUGIN_CACHE_DIR so different build steps do not share Terraform cache.
# It's set to `/workspace/test/integration/tmp/.terraform` in the CFT Developer Tool's container
# for CFT's testing purpose. We don't need it.
- "TF_PLUGIN_CACHE_DIR="
env: ["GOPATH=/go"]
machineType: "N1_HIGHCPU_8"

steps:
Expand Down
2 changes: 1 addition & 1 deletion docs/policygen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ are now generated by [tfengine](../tfengine/README.md) as Terraform configs. See
1. Install the following dependencies and add them to your PATH:

* [gcloud](https://cloud.google.com/sdk/gcloud)
* [Terraform 1.0.1](https://releases.hashicorp.com/terraform/)
* [Terraform 0.14.8](https://releases.hashicorp.com/terraform/)
(consistent with the version of Terraform used by CICD)
* [Go 1.14+](https://golang.org/dl/)

Expand Down
2 changes: 1 addition & 1 deletion docs/tfengine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ This tool helps you follow Google Cloud, Terraform and security best practices.
1. Install the following dependencies and add them to your PATH:

- [gcloud](https://cloud.google.com/sdk/gcloud)
- [Terraform 1.0.1](https://releases.hashicorp.com/terraform/)
- [Terraform 0.14.8](https://releases.hashicorp.com/terraform/)
(consistent with the version of Terraform used by CICD)
- [Go 1.14+](https://golang.org/dl/)

Expand Down
2 changes: 1 addition & 1 deletion docs/tfimport/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ generated by the Terrarom Engine.

## Requirements

- [Terraform 1.0.1](https://releases.hashicorp.com/terraform/) (consistent
- [Terraform 0.14.8](https://releases.hashicorp.com/terraform/) (consistent
with the version of Terraform used by CICD)
- [Go 1.14+](https://golang.org/dl/)

Expand Down
4 changes: 3 additions & 1 deletion examples/tfengine/generated/devops/cicd/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions examples/tfengine/generated/devops/cicd/configs/tf-apply.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions examples/tfengine/generated/devops/cicd/configs/tf-plan.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/tfengine/generated/devops/cicd/main.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/tfengine/generated/devops/devops/main.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/tfengine/generated/devops/groups/main.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion examples/tfengine/generated/folder_foundation/cicd/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/tfengine/generated/folder_foundation/cicd/main.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/tfengine/generated/multi_envs/audit/main.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion examples/tfengine/generated/multi_envs/cicd/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f18accf

Please sign in to comment.