Skip to content

Commit

Permalink
🐳 : rollback to terraform image 0.11.14
Browse files Browse the repository at this point in the history
  • Loading branch information
cdubuisson committed Jun 18, 2019
1 parent c14ce7d commit 5beb962
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/io/codeka/gaia/runner/StackRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private int runContainerForJob(Job job, String script){
.build();

// pull the image
dockerClient.pull("hashicorp/terraform:latest");
dockerClient.pull("hashicorp/terraform:0.11.14");

System.out.println("Create container");
var containerCreation = dockerClient.createContainer(containerConfig);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ DockerClient client(Settings settings) {
@Bean
ContainerConfig.Builder containerConfig(){
return ContainerConfig.builder()
.image("hashicorp/terraform:latest")
.image("hashicorp/terraform:0.11.14")
// bind mounting the docker sock (to be able to use docker provider in terraform)
.hostConfig(HostConfig.builder().binds(HostConfig.Bind.builder().from("/var/run/docker.sock").to("/var/run/docker.sock").build()).build())
// resetting entrypoint to empty
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/stack.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ <h2><span><i class="fas fa-history"></i> Job history</span></h2>
return $.get(`/api/state/${stackId}`)
.then(data => {
// finding stack output
stack.outputs = data.outputs;
stack.outputs = data.modules[0].outputs;
})
.catch(e => {
// a 404 means that the stack is new
Expand Down

0 comments on commit 5beb962

Please sign in to comment.