Remove 0.13upgrade test fixtures
This commit is contained in:
parent
84696eae33
commit
156b1615a2
|
@ -1,5 +0,0 @@
|
|||
resource foo_resource b {}
|
||||
resource bar_resource c {}
|
||||
resource bar_resource ab {
|
||||
provider = baz
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
# This is a file called versions.tf which does not originally have a
|
||||
# required_providers block.
|
||||
resource foo_resource a {}
|
||||
|
||||
terraform {
|
||||
required_version = ">= 0.13"
|
||||
required_providers {
|
||||
bar = {
|
||||
source = "hashicorp/bar"
|
||||
}
|
||||
baz = {
|
||||
source = "terraform-providers/baz"
|
||||
}
|
||||
foo = {
|
||||
source = "hashicorp/foo"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
resource foo_resource b {}
|
||||
resource bar_resource c {}
|
||||
resource bar_resource ab {
|
||||
provider = baz
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
# This is a file called versions.tf which does not originally have a
|
||||
# required_providers block.
|
||||
resource foo_resource a {}
|
||||
|
||||
terraform {
|
||||
required_version = ">= 0.12"
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
provider "foo" {
|
||||
version = "1.2.3"
|
||||
}
|
||||
|
||||
terraform {
|
||||
required_providers {
|
||||
bar = {
|
||||
source = "hashicorp/bar"
|
||||
version = "1.0.0"
|
||||
}
|
||||
baz = {
|
||||
source = "terraform-providers/baz"
|
||||
version = "~> 2.0.0"
|
||||
}
|
||||
foo = {
|
||||
source = "hashicorp/foo"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "terraform" {}
|
|
@ -1,3 +0,0 @@
|
|||
terraform {
|
||||
required_version = ">= 0.13"
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
provider "foo" {
|
||||
version = "1.2.3"
|
||||
}
|
||||
|
||||
terraform {
|
||||
required_providers {
|
||||
bar = "1.0.0"
|
||||
baz = {
|
||||
version = "~> 2.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "terraform" { }
|
|
@ -1,13 +0,0 @@
|
|||
provider foo {}
|
||||
provider bar {}
|
||||
terraform {
|
||||
required_providers {
|
||||
bar = {
|
||||
source = "hashicorp/bar"
|
||||
}
|
||||
foo = {
|
||||
source = "hashicorp/foo"
|
||||
}
|
||||
}
|
||||
required_version = ">= 0.13"
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
provider foo {}
|
||||
provider bar {}
|
|
@ -1 +0,0 @@
|
|||
resource something_resource a {}
|
|
@ -1,17 +0,0 @@
|
|||
terraform {
|
||||
required_providers {
|
||||
something = {
|
||||
# TF-UPGRADE-TODO
|
||||
#
|
||||
# No source detected for this provider. You must add a source address
|
||||
# in the following format:
|
||||
#
|
||||
# source = "your-registry.example.com/organization/something"
|
||||
#
|
||||
# For more information, see the provider source documentation:
|
||||
#
|
||||
# https://www.terraform.io/docs/language/providers/requirements.html
|
||||
}
|
||||
}
|
||||
required_version = ">= 0.13"
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
resource something_resource a {}
|
|
@ -1,6 +0,0 @@
|
|||
resource "foo_resource" "b" {}
|
||||
resource "bar_resource" "c" {}
|
||||
resource "bar_resource" "ab" {
|
||||
provider = baz
|
||||
}
|
||||
resource "terraform_remote_state" "production" {}
|
|
@ -1,14 +0,0 @@
|
|||
terraform {
|
||||
required_providers {
|
||||
bar = {
|
||||
source = "hashicorp/bar"
|
||||
}
|
||||
baz = {
|
||||
source = "terraform-providers/baz"
|
||||
}
|
||||
foo = {
|
||||
source = "hashicorp/foo"
|
||||
}
|
||||
}
|
||||
required_version = ">= 0.13"
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
resource "foo_resource" "b" {}
|
||||
resource "bar_resource" "c" {}
|
||||
resource "bar_resource" "ab" {
|
||||
provider = baz
|
||||
}
|
||||
resource "terraform_remote_state" "production" {}
|
|
@ -1,2 +0,0 @@
|
|||
resource bar_instance a {}
|
||||
resource baz_instance b {}
|
|
@ -1,4 +0,0 @@
|
|||
terraform {
|
||||
required_version = ">= 0.12"
|
||||
}
|
||||
resource foo_instance c {}
|
|
@ -1,16 +0,0 @@
|
|||
terraform {
|
||||
required_providers {
|
||||
foo = {
|
||||
source = "hashicorp/foo"
|
||||
version = "0.5"
|
||||
}
|
||||
bar = {
|
||||
source = "registry.acme.corp/acme/bar"
|
||||
}
|
||||
baz = {
|
||||
source = "terraform-providers/baz"
|
||||
version = "~> 2.0.0"
|
||||
}
|
||||
}
|
||||
required_version = ">= 0.13"
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
resource bar_instance a {}
|
||||
resource baz_instance b {}
|
|
@ -1,7 +0,0 @@
|
|||
terraform {
|
||||
required_version = ">= 0.12"
|
||||
required_providers {
|
||||
baz = "~> 2.0.0"
|
||||
}
|
||||
}
|
||||
resource foo_instance c {}
|
|
@ -1,12 +0,0 @@
|
|||
terraform {
|
||||
required_providers {
|
||||
foo = "0.5"
|
||||
}
|
||||
}
|
||||
terraform {
|
||||
required_providers {
|
||||
bar = {
|
||||
source = "registry.acme.corp/acme/bar"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
# This file starts with a resource and a required providers block, and should
|
||||
# end up with just the resource.
|
||||
resource foo_instance a {}
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
# This file starts with a resource and a required providers block, and should
|
||||
# end up with the full required providers configuration. This file is chosen
|
||||
# to keep the required providers block because its file name is "providers.tf".
|
||||
resource bar_instance b {}
|
||||
|
||||
terraform {
|
||||
required_providers {
|
||||
bar = {
|
||||
source = "registry.acme.corp/acme/bar"
|
||||
}
|
||||
foo = {
|
||||
source = "hashicorp/foo"
|
||||
version = "1.0.0"
|
||||
}
|
||||
}
|
||||
required_version = ">= 0.13"
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
# This file starts with a resource and a required providers block, and should
|
||||
# end up with just the resource.
|
||||
resource foo_instance a {}
|
||||
|
||||
terraform {
|
||||
required_providers {
|
||||
foo = "1.0.0"
|
||||
}
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
# This file starts with a resource and a required providers block, and should
|
||||
# end up with the full required providers configuration. This file is chosen
|
||||
# to keep the required providers block because its file name is "providers.tf".
|
||||
resource bar_instance b {}
|
||||
|
||||
terraform {
|
||||
required_providers {
|
||||
bar = {
|
||||
source = "registry.acme.corp/acme/bar"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
variable "x" {
|
||||
default = 3
|
||||
}
|
||||
|
||||
variable "y" {
|
||||
default = 5
|
||||
}
|
||||
|
||||
output "product" {
|
||||
value = var.x * var.y
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
variable "x" {
|
||||
default = 3
|
||||
}
|
||||
|
||||
variable "y" {
|
||||
default = 5
|
||||
}
|
||||
|
||||
output "product" {
|
||||
value = var.x * var.y
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
resource foo_instance a {}
|
||||
resource bar_instance b {}
|
||||
|
||||
terraform {
|
||||
# Provider requirements go here
|
||||
required_providers {
|
||||
# Pin bar to this version
|
||||
bar = {
|
||||
source = "hashicorp/bar"
|
||||
version = "0.5.0"
|
||||
}
|
||||
# An explicit requirement
|
||||
baz = {
|
||||
# Comment inside the block should stay
|
||||
source = "foo/baz"
|
||||
}
|
||||
# Foo is required
|
||||
foo = {
|
||||
source = "hashicorp/foo"
|
||||
version = "1.0.0"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
terraform {
|
||||
required_version = ">= 0.13"
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
resource foo_instance a {}
|
||||
resource bar_instance b {}
|
||||
|
||||
terraform {
|
||||
# Provider requirements go here
|
||||
required_providers {
|
||||
# Pin bar to this version
|
||||
bar = "0.5.0"
|
||||
# An explicit requirement
|
||||
baz = {
|
||||
# Comment inside the block should stay
|
||||
source = "foo/baz"
|
||||
}
|
||||
# Foo is required
|
||||
foo = {
|
||||
# This comment sadly won't make it
|
||||
version = "1.0.0"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
provider foo {}
|
||||
|
||||
terraform {
|
||||
required_providers {
|
||||
bar = {
|
||||
source = "hashicorp/bar"
|
||||
version = "1.0.0"
|
||||
}
|
||||
unknown = {
|
||||
# TF-UPGRADE-TODO
|
||||
#
|
||||
# No source detected for this provider. You must add a source address
|
||||
# in the following format:
|
||||
#
|
||||
# source = "your-registry.example.com/organization/unknown"
|
||||
#
|
||||
# For more information, see the provider source documentation:
|
||||
#
|
||||
# https://www.terraform.io/docs/language/providers/requirements.html
|
||||
version = "~> 2.0.0"
|
||||
}
|
||||
foo = {
|
||||
source = "hashicorp/foo"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
terraform {
|
||||
required_version = ">= 0.13"
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
provider foo {}
|
||||
|
||||
terraform {
|
||||
required_providers {
|
||||
bar = "1.0.0"
|
||||
unknown = {
|
||||
version = "~> 2.0.0"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
provider "qux" {
|
||||
version = "~> 0.9.0"
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
terraform {
|
||||
required_providers {
|
||||
qux = {
|
||||
source = "hashicorp/qux"
|
||||
}
|
||||
}
|
||||
required_version = ">= 0.13"
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
provider "qux" {
|
||||
version = "~> 0.9.0"
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
provider "qux" {
|
||||
version = ">= 1.0.0"
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
terraform {
|
||||
required_providers {
|
||||
qux = {
|
||||
source = "acme/qux"
|
||||
}
|
||||
}
|
||||
required_version = ">= 0.13"
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
provider "qux" {
|
||||
version = ">= 1.0.0"
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
terraform {
|
||||
required_providers {
|
||||
aws = {
|
||||
source = "registry.acme.corp/acme/aws"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
terraform {
|
||||
required_version = ">= 0.13"
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
terraform {
|
||||
required_providers {
|
||||
aws = {
|
||||
source = "registry.acme.corp/acme/aws"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
provider bar {
|
||||
version = "1.0.0"
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
provider foo {
|
||||
version = "1.2.3"
|
||||
}
|
||||
|
||||
terraform {
|
||||
required_providers {
|
||||
bar = {
|
||||
source = "hashicorp/bar"
|
||||
version = "1.0.0"
|
||||
}
|
||||
baz = {
|
||||
source = "terraform-providers/baz"
|
||||
version = "~> 2.0.0"
|
||||
}
|
||||
foo = {
|
||||
source = "hashicorp/foo"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
"variable": {
|
||||
"example": {
|
||||
"default": "hello"
|
||||
}
|
||||
}
|
||||
"terraform": {
|
||||
"required_providers": {
|
||||
"aws": "2.50.0"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
terraform {
|
||||
required_version = ">= 0.13"
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
provider bar {
|
||||
version = "1.0.0"
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
provider foo {
|
||||
version = "1.2.3"
|
||||
}
|
||||
|
||||
terraform {
|
||||
required_providers {
|
||||
bar = "1.0.0"
|
||||
baz = {
|
||||
version = "~> 2.0.0"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
"variable": {
|
||||
"example": {
|
||||
"default": "hello"
|
||||
}
|
||||
}
|
||||
"terraform": {
|
||||
"required_providers": {
|
||||
"aws": "2.50.0"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
terraform {
|
||||
required_providers {
|
||||
bar = {
|
||||
version = "~> 2.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
resource foo_resource b {}
|
|
@ -1,8 +0,0 @@
|
|||
terraform {
|
||||
required_providers {
|
||||
foo = {
|
||||
source = "hashicorp/foo"
|
||||
}
|
||||
}
|
||||
required_version = ">= 0.13"
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
terraform {
|
||||
required_providers {
|
||||
bar = {
|
||||
source = "hashicorp/bar"
|
||||
version = "~> 2.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
resource foo_resource b {}
|
|
@ -1,3 +0,0 @@
|
|||
terraform {
|
||||
required_version = ">= 0.13"
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
terraform {
|
||||
required_providers {
|
||||
bar = {
|
||||
version = "~> 2.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
resource foo_resource b {}
|
|
@ -1 +0,0 @@
|
|||
resource foo_instance a {}
|
|
@ -1,3 +0,0 @@
|
|||
terraform {
|
||||
required_version = "~> 0.12.0"
|
||||
}
|
Loading…
Reference in New Issue