diff --git a/integrationtest/fixtures/global-labels/manifest.yml b/integrationtest/fixtures/global-labels/manifest.yml index a0982be16..1e4be8c02 100644 --- a/integrationtest/fixtures/global-labels/manifest.yml +++ b/integrationtest/fixtures/global-labels/manifest.yml @@ -12,6 +12,6 @@ terraform_binaries: - name: terraform version: 0.12.21 - name: terraform-provider-random - version: 2.2.1 + version: 3.5.1 service_definitions: - fake-service.yml diff --git a/integrationtest/fixtures/maintenance-info/fake-provision.tf b/integrationtest/fixtures/maintenance-info/fake-provision.tf index a6744c42a..a815f8953 100644 --- a/integrationtest/fixtures/maintenance-info/fake-provision.tf +++ b/integrationtest/fixtures/maintenance-info/fake-provision.tf @@ -2,7 +2,7 @@ terraform { required_providers { random = { source = "hashicorp/random" - version = "3.1.0" + version = "3.5.1" } } } diff --git a/integrationtest/fixtures/maintenance-info/manifest.yml b/integrationtest/fixtures/maintenance-info/manifest.yml index f23d4ba23..33a2efb9f 100644 --- a/integrationtest/fixtures/maintenance-info/manifest.yml +++ b/integrationtest/fixtures/maintenance-info/manifest.yml @@ -15,7 +15,7 @@ terraform_binaries: version: 0.13.7 default: true - name: terraform-provider-random - version: 3.1.0 - source: https://github.com/terraform-providers/terraform-provider-random/archive/v3.1.0.zip + version: 3.5.1 + source: https://github.com/terraform-providers/terraform-provider-random/archive/v3.5.1.zip service_definitions: - fake-service.yml diff --git a/integrationtest/fixtures/osbapi/manifest.yml b/integrationtest/fixtures/osbapi/manifest.yml index a0982be16..1e4be8c02 100644 --- a/integrationtest/fixtures/osbapi/manifest.yml +++ b/integrationtest/fixtures/osbapi/manifest.yml @@ -12,6 +12,6 @@ terraform_binaries: - name: terraform version: 0.12.21 - name: terraform-provider-random - version: 2.2.1 + version: 3.5.1 service_definitions: - fake-service.yml diff --git a/integrationtest/fixtures/prevent-destroy-during-update/manifest.yml b/integrationtest/fixtures/prevent-destroy-during-update/manifest.yml index a0982be16..1e4be8c02 100644 --- a/integrationtest/fixtures/prevent-destroy-during-update/manifest.yml +++ b/integrationtest/fixtures/prevent-destroy-during-update/manifest.yml @@ -12,6 +12,6 @@ terraform_binaries: - name: terraform version: 0.12.21 - name: terraform-provider-random - version: 2.2.1 + version: 3.5.1 service_definitions: - fake-service.yml diff --git a/integrationtest/fixtures/terraform-0.12/manifest.yml b/integrationtest/fixtures/terraform-0.12/manifest.yml index a0982be16..1e4be8c02 100644 --- a/integrationtest/fixtures/terraform-0.12/manifest.yml +++ b/integrationtest/fixtures/terraform-0.12/manifest.yml @@ -12,6 +12,6 @@ terraform_binaries: - name: terraform version: 0.12.21 - name: terraform-provider-random - version: 2.2.1 + version: 3.5.1 service_definitions: - fake-service.yml diff --git a/integrationtest/fixtures/terraform-0.13/fake-provision.tf b/integrationtest/fixtures/terraform-0.13/fake-provision.tf index a6744c42a..a815f8953 100644 --- a/integrationtest/fixtures/terraform-0.13/fake-provision.tf +++ b/integrationtest/fixtures/terraform-0.13/fake-provision.tf @@ -2,7 +2,7 @@ terraform { required_providers { random = { source = "hashicorp/random" - version = "3.1.0" + version = "3.5.1" } } } diff --git a/integrationtest/fixtures/terraform-0.13/manifest.yml b/integrationtest/fixtures/terraform-0.13/manifest.yml index f23d4ba23..33a2efb9f 100644 --- a/integrationtest/fixtures/terraform-0.13/manifest.yml +++ b/integrationtest/fixtures/terraform-0.13/manifest.yml @@ -15,7 +15,7 @@ terraform_binaries: version: 0.13.7 default: true - name: terraform-provider-random - version: 3.1.0 - source: https://github.com/terraform-providers/terraform-provider-random/archive/v3.1.0.zip + version: 3.5.1 + source: https://github.com/terraform-providers/terraform-provider-random/archive/v3.5.1.zip service_definitions: - fake-service.yml diff --git a/integrationtest/fixtures/terraform-block-action-before-upgrade-updated/fake-provision.tf b/integrationtest/fixtures/terraform-block-action-before-upgrade-updated/fake-provision.tf index a6744c42a..a815f8953 100644 --- a/integrationtest/fixtures/terraform-block-action-before-upgrade-updated/fake-provision.tf +++ b/integrationtest/fixtures/terraform-block-action-before-upgrade-updated/fake-provision.tf @@ -2,7 +2,7 @@ terraform { required_providers { random = { source = "hashicorp/random" - version = "3.1.0" + version = "3.5.1" } } } diff --git a/integrationtest/fixtures/terraform-block-action-before-upgrade-updated/manifest.yml b/integrationtest/fixtures/terraform-block-action-before-upgrade-updated/manifest.yml index 342708706..b6ce33ac8 100644 --- a/integrationtest/fixtures/terraform-block-action-before-upgrade-updated/manifest.yml +++ b/integrationtest/fixtures/terraform-block-action-before-upgrade-updated/manifest.yml @@ -15,8 +15,8 @@ terraform_binaries: version: 0.13.7 default: true - name: terraform-provider-random - version: 3.1.0 - source: https://github.com/terraform-providers/terraform-provider-random/archive/v3.1.0.zip + version: 3.5.1 + source: https://github.com/terraform-providers/terraform-provider-random/archive/v3.5.1.zip terraform_state_provider_replacements: registry.terraform.io/-/random: "registry.terraform.io/hashicorp/random" terraform_upgrade_path: diff --git a/integrationtest/fixtures/terraform-block-action-before-upgrade/manifest.yml b/integrationtest/fixtures/terraform-block-action-before-upgrade/manifest.yml index a0982be16..1e4be8c02 100644 --- a/integrationtest/fixtures/terraform-block-action-before-upgrade/manifest.yml +++ b/integrationtest/fixtures/terraform-block-action-before-upgrade/manifest.yml @@ -12,6 +12,6 @@ terraform_binaries: - name: terraform version: 0.12.21 - name: terraform-provider-random - version: 2.2.1 + version: 3.5.1 service_definitions: - fake-service.yml diff --git a/integrationtest/fixtures/terraform-module-upgrade-updated/fake-provision.tf b/integrationtest/fixtures/terraform-module-upgrade-updated/fake-provision.tf index b6b5f0a4b..f94879a0a 100644 --- a/integrationtest/fixtures/terraform-module-upgrade-updated/fake-provision.tf +++ b/integrationtest/fixtures/terraform-module-upgrade-updated/fake-provision.tf @@ -2,7 +2,7 @@ terraform { required_providers { random = { source = "hashicorp/random" - version = "3.1.0" + version = "3.5.1" } } } diff --git a/integrationtest/fixtures/terraform-module-upgrade-updated/manifest.yml b/integrationtest/fixtures/terraform-module-upgrade-updated/manifest.yml index 3d512cfb5..501eb1436 100644 --- a/integrationtest/fixtures/terraform-module-upgrade-updated/manifest.yml +++ b/integrationtest/fixtures/terraform-module-upgrade-updated/manifest.yml @@ -21,7 +21,7 @@ terraform_binaries: version: 1.1.6 default: true - name: terraform-provider-random - version: 3.1.0 + version: 3.5.1 terraform_state_provider_replacements: registry.terraform.io/-/random: "registry.terraform.io/hashicorp/random" terraform_upgrade_path: diff --git a/integrationtest/fixtures/terraform-module-upgrade/manifest.yml b/integrationtest/fixtures/terraform-module-upgrade/manifest.yml index 26e2fad27..bb1e895d9 100644 --- a/integrationtest/fixtures/terraform-module-upgrade/manifest.yml +++ b/integrationtest/fixtures/terraform-module-upgrade/manifest.yml @@ -12,7 +12,7 @@ terraform_binaries: - name: terraform version: 0.12.21 - name: terraform-provider-random - version: 3.1.0 - source: https://github.com/terraform-providers/terraform-provider-random/archive/v3.1.0.zip + version: 3.5.1 + source: https://github.com/terraform-providers/terraform-provider-random/archive/v3.5.1.zip service_definitions: - fake-service.yml diff --git a/integrationtest/fixtures/terraform-upgrade-updated/fake-bind.tf b/integrationtest/fixtures/terraform-upgrade-updated/fake-bind.tf index 1140f1ccf..f1a26f231 100644 --- a/integrationtest/fixtures/terraform-upgrade-updated/fake-bind.tf +++ b/integrationtest/fixtures/terraform-upgrade-updated/fake-bind.tf @@ -2,7 +2,7 @@ terraform { required_providers { random = { source = "hashicorp/random" - version = "3.1.0" + version = "3.5.1" } } } diff --git a/integrationtest/fixtures/terraform-upgrade-updated/fake-provision.tf b/integrationtest/fixtures/terraform-upgrade-updated/fake-provision.tf index 239f11930..333608861 100644 --- a/integrationtest/fixtures/terraform-upgrade-updated/fake-provision.tf +++ b/integrationtest/fixtures/terraform-upgrade-updated/fake-provision.tf @@ -2,7 +2,7 @@ terraform { required_providers { random = { source = "hashicorp/random" - version = "3.1.0" + version = "3.5.1" } } } diff --git a/integrationtest/fixtures/terraform-upgrade-updated/manifest.yml b/integrationtest/fixtures/terraform-upgrade-updated/manifest.yml index 1353df14b..4f90e722b 100644 --- a/integrationtest/fixtures/terraform-upgrade-updated/manifest.yml +++ b/integrationtest/fixtures/terraform-upgrade-updated/manifest.yml @@ -23,7 +23,7 @@ terraform_binaries: version: 1.2.3 default: true - name: terraform-provider-random - version: 3.1.0 + version: 3.5.1 terraform_state_provider_replacements: registry.terraform.io/-/random: "registry.terraform.io/hashicorp/random" terraform_upgrade_path: diff --git a/integrationtest/fixtures/terraform-upgrade/manifest.yml b/integrationtest/fixtures/terraform-upgrade/manifest.yml index a0982be16..1e4be8c02 100644 --- a/integrationtest/fixtures/terraform-upgrade/manifest.yml +++ b/integrationtest/fixtures/terraform-upgrade/manifest.yml @@ -12,6 +12,6 @@ terraform_binaries: - name: terraform version: 0.12.21 - name: terraform-provider-random - version: 2.2.1 + version: 3.5.1 service_definitions: - fake-service.yml diff --git a/integrationtest/fixtures/tf_attribute_skip/fake-provision.tf b/integrationtest/fixtures/tf_attribute_skip/fake-provision.tf index e69de29bb..08b7e6a53 100644 --- a/integrationtest/fixtures/tf_attribute_skip/fake-provision.tf +++ b/integrationtest/fixtures/tf_attribute_skip/fake-provision.tf @@ -0,0 +1,17 @@ +## new versions of terraform fail with a different error to the one we want to trigger if this file is empty. +## adding some dummy terraform to test errors when a particular field is not present. + +terraform { + required_providers { + random = { + source = "hashicorp/random" + version = "3.5.1" + } + } +} + +resource "random_integer" "priority" { + min = 3 + max = 4 +} + diff --git a/integrationtest/fixtures/tf_attribute_skip/manifest.yml b/integrationtest/fixtures/tf_attribute_skip/manifest.yml index 0b637ba25..5d5a17717 100644 --- a/integrationtest/fixtures/tf_attribute_skip/manifest.yml +++ b/integrationtest/fixtures/tf_attribute_skip/manifest.yml @@ -10,7 +10,9 @@ platforms: arch: amd64 terraform_binaries: - name: terraform - version: 0.12.21 - source: https://github.com/hashicorp/terraform/archive/v0.12.21.zip + version: 1.5.7 + source: https://github.com/hashicorp/terraform/archive/v1.4.6.zip +- name: terraform-provider-random + version: 3.5.1 service_definitions: - fake-service.yml