deps: bump terrform to 1.3.3 and docs update (#2614)

* deps: bump terrform to 1.3.3

* Correct github doc link for token
This commit is contained in:
nitrocode
2022-10-24 23:46:52 -05:00
committed by GitHub
parent 64ce8601a0
commit be37b774c3
7 changed files with 7 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ jobs:
# We do this instead of setting --default-tf-version because setting
# that flag starts the download asynchronously so we'd have a race
# condition.
TERRAFORM_VERSION: 1.3.2
TERRAFORM_VERSION: 1.3.3
steps:
- checkout
- run: make build-service

View File

@@ -13,7 +13,7 @@ FROM ghcr.io/runatlantis/atlantis-base:2022.10.14 AS base
ARG TARGETPLATFORM
# install terraform binaries
ENV DEFAULT_TERRAFORM_VERSION=1.3.2
ENV DEFAULT_TERRAFORM_VERSION=1.3.3
# In the official Atlantis image we only have the latest of each Terraform version.
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

View File

@@ -24,7 +24,7 @@ generate an access token. Read on for the instructions for your specific Git hos
* [Azure DevOps](#azure-devops)
### GitHub user
- Create a Personal Access Token by following: [https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-token)
- Create a [Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-fine-grained-personal-access-token)
- Create the token with **repo** scope
- Record the access token
::: warning

View File

@@ -147,7 +147,7 @@ you can use your own user. Here we'll create the access token that Atlantis uses
set commit statuses.
### GitHub or GitHub Enterprise Access Token
- follow [https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-token)
- Create a [Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-fine-grained-personal-access-token)
- create a token with **repo** scope
- set the token as an environment variable
```

View File

@@ -99,7 +99,7 @@ To continue, we need you to create a GitHub personal access token
with [green]"repo" [reset]scope so we can fork an example terraform project.
Follow these instructions to create a token (we don't store any tokens):
[green]https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-token[reset]
[green]https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-fine-grained-personal-access-token[reset]
- use "atlantis" for the token description
- add "repo" scope
- copy the access token

View File

@@ -34,7 +34,7 @@ import (
)
const hashicorpReleasesURL = "https://releases.hashicorp.com"
const terraformVersion = "1.3.2"
const terraformVersion = "1.3.3"
const ngrokDownloadURL = "https://bin.equinox.io/c/4VmDzA7iaHb"
const ngrokAPIURL = "localhost:41414" // We hope this isn't used.
const atlantisPort = 4141

View File

@@ -3,7 +3,7 @@ FROM golang:1.17
RUN apt-get update && apt-get install unzip
# Install Terraform
ENV TERRAFORM_VERSION=1.3.2
ENV TERRAFORM_VERSION=1.3.3
RUN case $(uname -m) in x86_64|amd64) ARCH="amd64" ;; aarch64|arm64|armv7l) ARCH="arm64" ;; esac && \
wget -nv -O terraform.zip https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_${ARCH}.zip && \
mkdir -p /usr/local/bin/tf/versions/${TERRAFORM_VERSION} && \