Skip to content
This repository has been archived by the owner on Aug 21, 2022. It is now read-only.

Commit

Permalink
fix: update Terraform provider to 2.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
saitho committed Jan 8, 2021
1 parent 1488117 commit ec913fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stackhead-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform:
provider:
vendor: kreuzwerker
name: docker
version: 2.8.0
version: 2.9.0
resource_name: docker_container
init: "{{ module_role_path|d(role_path) }}/templates/terraform/provider_init.tf.j2"
provider_per_project: true
6 changes: 6 additions & 0 deletions tasks/migrations/0002-update-docker-provider-290.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This migration ensures Terraform dependencies are up to date, so we use the updated provider.
---
- include_tasks: "{{ stackhead__roles }}/stackhead_module_api/tasks/terraform-dependencies.yml"
when: installed_version == "" or (installed_version != "2.9.0" and installed_version is getstackhead.stackhead.isLesserThan("2.9.0"))
vars:
installed_version: "{{ lookup('getstackhead.stackhead.tf_provider_version', 'kreuzwerker/docker') }}"

0 comments on commit ec913fe

Please sign in to comment.