Skip to content

Commit

Permalink
Docker fix (#77)
Browse files Browse the repository at this point in the history
* Update docker file to use the current terraform-test image

* Remove deprecated  -check-variables from test script

* Add init step to validation test

* update

* update

* update

* update

* updatwe

* update

* update

* r1

* update README

* update

* update

* identity

* update

* update

Co-authored-by: Malte Lantin <malantin@microsoft.com>
Co-authored-by: Ubuntu <weiyuping@ubuntu-wyp.4smfdm3ngeyufpdz0muw5zebpc.bx.internal.cloudapp.net>
Co-authored-by: root <root@ubuntu-wyp.4smfdm3ngeyufpdz0muw5zebpc.bx.internal.cloudapp.net>
  • Loading branch information
4 people authored Dec 8, 2020
1 parent 4f94226 commit 8be20d1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ ENV TF_VAR_client_id=${BUILD_ARM_CLIENT_ID}
ENV TF_VAR_client_secret=${BUILD_ARM_CLIENT_SECRET}

# Set work directory.
RUN mkdir /go
RUN mkdir /go/bin
RUN mkdir /go/src
RUN test -d /go || mkdir /go
RUN test -d /go/bin || mkdir /go/bin
RUN test -d /go/src || mkdir /go/src
RUN mkdir /go/src/${MODULE_NAME}
COPY . /go/src/${MODULE_NAME}
WORKDIR /go/src/${MODULE_NAME}
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ resource "azurerm_log_analytics_solution" "main" {
publisher = "Microsoft"
product = "OMSGallery/ContainerInsights"
}

tags = var.tags
}

Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 2.34.0"
}
}
}

required_version = ">= 0.12"
Expand Down

0 comments on commit 8be20d1

Please sign in to comment.