Skip to content

Commit

Permalink
chore: update version of random provider used in integrationt tests (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
pivotal-marcela-campo authored Nov 23, 2023
1 parent b07d0a9 commit e4ca0b4
Show file tree
Hide file tree
Showing 20 changed files with 43 additions and 24 deletions.
2 changes: 1 addition & 1 deletion integrationtest/fixtures/global-labels/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
random = {
source = "hashicorp/random"
version = "3.1.0"
version = "3.5.1"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions integrationtest/fixtures/maintenance-info/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion integrationtest/fixtures/osbapi/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion integrationtest/fixtures/terraform-0.12/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion integrationtest/fixtures/terraform-0.13/fake-provision.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
random = {
source = "hashicorp/random"
version = "3.1.0"
version = "3.5.1"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions integrationtest/fixtures/terraform-0.13/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
random = {
source = "hashicorp/random"
version = "3.1.0"
version = "3.5.1"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
random = {
source = "hashicorp/random"
version = "3.1.0"
version = "3.5.1"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
random = {
source = "hashicorp/random"
version = "3.1.0"
version = "3.5.1"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
random = {
source = "hashicorp/random"
version = "3.1.0"
version = "3.5.1"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion integrationtest/fixtures/terraform-upgrade/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
17 changes: 17 additions & 0 deletions integrationtest/fixtures/tf_attribute_skip/fake-provision.tf
Original file line number Diff line number Diff line change
@@ -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
}

6 changes: 4 additions & 2 deletions integrationtest/fixtures/tf_attribute_skip/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e4ca0b4

Please sign in to comment.