EngineerBetter / control-tower

Deploy and operate Concourse CI in a single command
https://www.engineerbetter.com
Apache License 2.0
121 stars 38 forks source link

Terraform error running commands with standard set up #338

Open mikefox opened 9 months ago

mikefox commented 9 months ago

I'm using the following Dockerfile to create a container that I can run control-tower commands in:

FROM --platform=linux/amd64 debian:buster

# Install Concourse stuff
RUN apt-get update && apt-get install -y wget \
                        build-essential \
                        zlib1g-dev \
                        ruby \
                        ruby-dev \
                        openssl \
                        libxslt1-dev \
                        libxml2-dev \
                        libssl-dev \
                        libreadline-dev \
                        libyaml-dev \
                        libsqlite3-dev \
                        sqlite3

RUN wget -O /bin/bosh https://github.com/cloudfoundry/bosh-cli/releases/download/v7.2.3/bosh-cli-7.2.3-linux-arm64 \
    && chmod u+x /bin/bosh

RUN wget -O /bin/ct https://github.com/EngineerBetter/control-tower/releases/download/0.32.0/control-tower-linux-amd64 \
    && chmod u+x /bin/ct

WORKDIR /app

ENTRYPOINT /bin/bash

However I'm receiving the following error message when I try to run the control-tower info command on an existing installation:

│ Error: Invalid legacy provider address
│
│ This configuration or its associated state refers to the unqualified provider "aws".
│
│ You must complete the Terraform 0.13 upgrade process before upgrading to later versions.

I should mention that the existing installation is running v7.0.0 of Bosh CLI and version 0.32.0 of control tower.