Remove 0.13upgrade test fixtures

This commit is contained in:
Pam Selle 2021-02-18 12:57:58 -05:00
parent 84696eae33
commit 156b1615a2
59 changed files with 0 additions and 477 deletions

View File

@ -1,5 +0,0 @@
resource foo_resource b {}
resource bar_resource c {}
resource bar_resource ab {
provider = baz
}

View File

@ -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"
}
}
}

View File

@ -1,5 +0,0 @@
resource foo_resource b {}
resource bar_resource c {}
resource bar_resource ab {
provider = baz
}

View File

@ -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"
}

View File

@ -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" {}

View File

@ -1,3 +0,0 @@
terraform {
required_version = ">= 0.13"
}

View File

@ -1,14 +0,0 @@
provider "foo" {
version = "1.2.3"
}
terraform {
required_providers {
bar = "1.0.0"
baz = {
version = "~> 2.0.0"
}
}
}
provider "terraform" { }

View File

@ -1,13 +0,0 @@
provider foo {}
provider bar {}
terraform {
required_providers {
bar = {
source = "hashicorp/bar"
}
foo = {
source = "hashicorp/foo"
}
}
required_version = ">= 0.13"
}

View File

@ -1,2 +0,0 @@
provider foo {}
provider bar {}

View File

@ -1 +0,0 @@
resource something_resource a {}

View File

@ -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"
}

View File

@ -1 +0,0 @@
resource something_resource a {}

View File

@ -1,6 +0,0 @@
resource "foo_resource" "b" {}
resource "bar_resource" "c" {}
resource "bar_resource" "ab" {
provider = baz
}
resource "terraform_remote_state" "production" {}

View File

@ -1,14 +0,0 @@
terraform {
required_providers {
bar = {
source = "hashicorp/bar"
}
baz = {
source = "terraform-providers/baz"
}
foo = {
source = "hashicorp/foo"
}
}
required_version = ">= 0.13"
}

View File

@ -1,6 +0,0 @@
resource "foo_resource" "b" {}
resource "bar_resource" "c" {}
resource "bar_resource" "ab" {
provider = baz
}
resource "terraform_remote_state" "production" {}

View File

@ -1,2 +0,0 @@
resource bar_instance a {}
resource baz_instance b {}

View File

@ -1,4 +0,0 @@
terraform {
required_version = ">= 0.12"
}
resource foo_instance c {}

View File

@ -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"
}

View File

@ -1,2 +0,0 @@
resource bar_instance a {}
resource baz_instance b {}

View File

@ -1,7 +0,0 @@
terraform {
required_version = ">= 0.12"
required_providers {
baz = "~> 2.0.0"
}
}
resource foo_instance c {}

View File

@ -1,12 +0,0 @@
terraform {
required_providers {
foo = "0.5"
}
}
terraform {
required_providers {
bar = {
source = "registry.acme.corp/acme/bar"
}
}
}

View File

@ -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 {}

View File

@ -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"
}

View File

@ -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"
}
}

View File

@ -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"
}
}
}

View File

@ -1,11 +0,0 @@
variable "x" {
default = 3
}
variable "y" {
default = 5
}
output "product" {
value = var.x * var.y
}

View File

@ -1,11 +0,0 @@
variable "x" {
default = 3
}
variable "y" {
default = 5
}
output "product" {
value = var.x * var.y
}

View File

@ -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"
}
}
}

View File

@ -1,3 +0,0 @@
terraform {
required_version = ">= 0.13"
}

View File

@ -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"
}
}
}

View File

@ -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"
}
}
}

View File

@ -1,3 +0,0 @@
terraform {
required_version = ">= 0.13"
}

View File

@ -1,10 +0,0 @@
provider foo {}
terraform {
required_providers {
bar = "1.0.0"
unknown = {
version = "~> 2.0.0"
}
}
}

View File

@ -1,3 +0,0 @@
provider "qux" {
version = "~> 0.9.0"
}

View File

@ -1,8 +0,0 @@
terraform {
required_providers {
qux = {
source = "hashicorp/qux"
}
}
required_version = ">= 0.13"
}

View File

@ -1,3 +0,0 @@
provider "qux" {
version = "~> 0.9.0"
}

View File

@ -1,3 +0,0 @@
provider "qux" {
version = ">= 1.0.0"
}

View File

@ -1,8 +0,0 @@
terraform {
required_providers {
qux = {
source = "acme/qux"
}
}
required_version = ">= 0.13"
}

View File

@ -1,3 +0,0 @@
provider "qux" {
version = ">= 1.0.0"
}

View File

@ -1,7 +0,0 @@
terraform {
required_providers {
aws = {
source = "registry.acme.corp/acme/aws"
}
}
}

View File

@ -1,3 +0,0 @@
terraform {
required_version = ">= 0.13"
}

View File

@ -1,7 +0,0 @@
terraform {
required_providers {
aws = {
source = "registry.acme.corp/acme/aws"
}
}
}

View File

@ -1,3 +0,0 @@
provider bar {
version = "1.0.0"
}

View File

@ -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"
}
}
}

View File

@ -1,12 +0,0 @@
{
"variable": {
"example": {
"default": "hello"
}
}
"terraform": {
"required_providers": {
"aws": "2.50.0"
}
}
}

View File

@ -1,3 +0,0 @@
terraform {
required_version = ">= 0.13"
}

View File

@ -1,3 +0,0 @@
provider bar {
version = "1.0.0"
}

View File

@ -1,12 +0,0 @@
provider foo {
version = "1.2.3"
}
terraform {
required_providers {
bar = "1.0.0"
baz = {
version = "~> 2.0.0"
}
}
}

View File

@ -1,12 +0,0 @@
{
"variable": {
"example": {
"default": "hello"
}
}
"terraform": {
"required_providers": {
"aws": "2.50.0"
}
}
}

View File

@ -1,8 +0,0 @@
terraform {
required_providers {
bar = {
version = "~> 2.0.0"
}
}
}

View File

@ -1 +0,0 @@
resource foo_resource b {}

View File

@ -1,8 +0,0 @@
terraform {
required_providers {
foo = {
source = "hashicorp/foo"
}
}
required_version = ">= 0.13"
}

View File

@ -1,9 +0,0 @@
terraform {
required_providers {
bar = {
source = "hashicorp/bar"
version = "~> 2.0.0"
}
}
}

View File

@ -1 +0,0 @@
resource foo_resource b {}

View File

@ -1,3 +0,0 @@
terraform {
required_version = ">= 0.13"
}

View File

@ -1,8 +0,0 @@
terraform {
required_providers {
bar = {
version = "~> 2.0.0"
}
}
}

View File

@ -1 +0,0 @@
resource foo_resource b {}

View File

@ -1 +0,0 @@
resource foo_instance a {}

View File

@ -1,3 +0,0 @@
terraform {
required_version = "~> 0.12.0"
}