Skip to content

Commit

Permalink
COS-417 - Avoid gcp bug
Browse files Browse the repository at this point in the history
GoogleCloudPlatform/terraformer#1695
states that any version of the GCP provider after 4.60.0 is
having an issue. Fixing the version for now.
  • Loading branch information
ioah86 committed Sep 6, 2023
1 parent 379307d commit eaafb08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Expand Up @@ -25,7 +25,7 @@ RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
RUN yum install -y yum-utils-4.0.21-3.el8
RUN yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
RUN yum -y install terraform-1.2.9-1
RUN yum -y install terraform-1.5.6-1
RUN yum -y install jq-1.5-12.el8

# Install Azure CLI
Expand All @@ -37,7 +37,7 @@ RUN dnf install -y azure-cli

# Using an older version until https://github.com/GoogleCloudPlatform/terraformer/issues/1648 is fixed.
# Do not use 0.8.22
ENV CURRENT_TERRAFORMER_VERSION=0.8.21
ENV CURRENT_TERRAFORMER_VERSION=0.8.24
# For now, we assume the provider to be AWS only; we would need to
# check for adjustments for other providers, and maybe need to create
# extra Docker files for that.
Expand Down
Expand Up @@ -2,6 +2,7 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "4.59.0"
}
aws = {
source = "hashicorp/aws"
Expand Down

0 comments on commit eaafb08

Please sign in to comment.