Skip to content

Commit

Permalink
COS-417 - Avoid gcp bug (#82)
Browse files Browse the repository at this point in the history
COS-417 - Avoid gcp bug

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 authored Sep 6, 2023
1 parent 379307d commit 59804fd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ sudo pacman -S python python-pip

<details>
<summary>Mac OS</summary>
<a id="macos-install"></a>Using <a href="https://brew.sh">Homebrew</a>, run the following:
Assuming you are using [Homebrew](https://brew.sh), you have to run

```shell
brew install python3
Expand All @@ -141,7 +141,7 @@ brew install python3
<details>
<summary>Windows</summary>

<a id="windows-install"></a>Download Python3 for Windows using [this link](https://www.python.org/downloads/windows/), and
Download Python3 for Windows using [this link](https://www.python.org/downloads/windows/), and
install it.

</details>
Expand All @@ -155,7 +155,7 @@ directly, or installed via `pip`:
pip3 install coguard-cli
```

_Reminder_: It is a requirement to have [Docker](https://docker.com) installed and running locally.
This is a reminder that it is a requirement to have [Docker[(https://docker.com) installed locally.


### <a id="installation-remarks"></a>Installation remarks
Expand Down Expand Up @@ -329,4 +329,4 @@ configuration files in the near future.

- [CoGuard](https://www.coguard.io)
- [Blog](https://www.coguard.io/blog)
- [Contact Us](https://coguard.io/contact)
- [Contact Us](https://coguard.io/contact
Original file line number Diff line number Diff line change
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 @@ -35,9 +35,7 @@ RUN dnf install -y azure-cli

# Install Terraformer

# 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
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
# This is a temporary fixing of the version, until https://github.com/GoogleCloudPlatform/terraformer/issues/1695 is fixed
version = "4.59.0"
}
aws = {
source = "hashicorp/aws"
Expand Down

0 comments on commit 59804fd

Please sign in to comment.