From 7786f1331cf4556ee71dbf3371fab175778a6165 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Mon, 4 May 2020 15:01:59 +0200 Subject: [PATCH] remove tfstate files from repo --- .gitignore | 2 + terraform.tfstate | 173 ---------------------------- terraform.tfstate.backup | 238 --------------------------------------- 3 files changed, 2 insertions(+), 411 deletions(-) delete mode 100644 terraform.tfstate delete mode 100644 terraform.tfstate.backup diff --git a/.gitignore b/.gitignore index b4f2a01..2098ce8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ .terraform *.auto.tfvars +*.tfstate +*.tfstate.backup diff --git a/terraform.tfstate b/terraform.tfstate deleted file mode 100644 index bdcf237..0000000 --- a/terraform.tfstate +++ /dev/null @@ -1,173 +0,0 @@ -{ - "version": 4, - "terraform_version": "0.12.24", - "serial": 26, - "lineage": "0f8651e8-593e-1889-aef1-d79f69de7a9a", - "outputs": { - "ansible_inventory": { - "value": { - "all": { - "children": { - "controllers": { - "hosts": { - "controller.testing.thengo.net": {} - } - }, - "provider_hetzner": { - "hosts": { - "controller.testing.thengo.net": { - "ansible_host": "116.203.152.103", - "external_ip": "116.203.152.103" - } - } - } - }, - "hosts": { - "controller.testing.thengo.net": {} - } - } - }, - "type": [ - "object", - { - "all": [ - "object", - { - "children": [ - "object", - { - "controllers": [ - "object", - { - "hosts": [ - "object", - { - "controller.testing.thengo.net": [ - "object", - {} - ] - } - ] - } - ], - "provider_hetzner": [ - "object", - { - "hosts": [ - "object", - { - "controller.testing.thengo.net": [ - "object", - { - "ansible_host": "string", - "external_ip": "string" - } - ] - } - ] - } - ] - } - ], - "hosts": [ - "object", - { - "controller.testing.thengo.net": [ - "object", - {} - ] - } - ] - } - ] - } - ] - } - }, - "resources": [ - { - "mode": "managed", - "type": "hcloud_server", - "name": "vms", - "each": "map", - "provider": "provider.hcloud", - "instances": [ - { - "index_key": "controller.testing.thengo.net", - "schema_version": 0, - "attributes": { - "backup_window": "", - "backups": false, - "datacenter": "nbg1-dc3", - "id": "5685515", - "image": "debian-10", - "ipv4_address": "116.203.152.103", - "ipv6_address": "2a01:4f8:c0c:c828::1", - "ipv6_network": "2a01:4f8:c0c:c828::/64", - "iso": null, - "keep_disk": false, - "labels": {}, - "location": "nbg1", - "name": "controller.testing.thengo.net", - "rescue": null, - "server_type": "cx11", - "ssh_keys": [ - "1501431" - ], - "status": "running", - "user_data": null - }, - "private": "bnVsbA==", - "dependencies": [ - "hcloud_ssh_key.ssh_keys" - ] - } - ] - }, - { - "mode": "managed", - "type": "hcloud_ssh_key", - "name": "ssh_keys", - "each": "map", - "provider": "provider.hcloud", - "instances": [ - { - "index_key": "~/.ssh/id_ed25519.pub", - "schema_version": 0, - "attributes": { - "fingerprint": "75:3c:1e:51:61:71:51:48:d0:45:18:e4:66:19:de:6e", - "id": "1501431", - "labels": {}, - "name": "~/.ssh/id_ed25519.pub", - "public_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGwdEkFBdQfY5YB6LR1l+copG7rZXlGLQyWWwhZdNkpW ka\n" - }, - "private": "bnVsbA==" - } - ] - }, - { - "mode": "managed", - "type": "local_file", - "name": "foo", - "provider": "provider.local", - "instances": [ - { - "schema_version": 0, - "attributes": { - "content": "{\"all\":{\"children\":{\"controllers\":{\"hosts\":{\"controller.testing.thengo.net\":{}}},\"provider_hetzner\":{\"hosts\":{\"controller.testing.thengo.net\":{\"ansible_host\":\"116.203.152.103\",\"external_ip\":\"116.203.152.103\"}}}},\"hosts\":{\"controller.testing.thengo.net\":{}}}}", - "content_base64": null, - "directory_permission": "0755", - "file_permission": "0644", - "filename": "inventory.json", - "id": "0f2b79f769f5dcbdebc46242e9b0484c11646b71", - "sensitive_content": null - }, - "private": "bnVsbA==", - "dependencies": [ - "hcloud_server.vms" - ] - } - ] - } - ] -} diff --git a/terraform.tfstate.backup b/terraform.tfstate.backup deleted file mode 100644 index 1dc64a2..0000000 --- a/terraform.tfstate.backup +++ /dev/null @@ -1,238 +0,0 @@ -{ - "version": 4, - "terraform_version": "0.12.24", - "serial": 22, - "lineage": "0f8651e8-593e-1889-aef1-d79f69de7a9a", - "outputs": { - "ansible_inventory": { - "value": { - "all": { - "children": { - "controllers": { - "hosts": { - "controller.testing.thengo.net": {} - } - }, - "nameservers": { - "hosts": { - "ns.testing.thengo.net": {} - } - }, - "provider_hetzner": { - "hosts": { - "controller.testing.thengo.net": { - "ansible_host": "116.203.152.103", - "external_ip": "116.203.152.103" - }, - "ns.testing.thengo.net": { - "ansible_host": "116.203.152.95", - "external_ip": "116.203.152.95" - } - } - } - }, - "hosts": { - "controller.testing.thengo.net": {}, - "ns.testing.thengo.net": {} - } - } - }, - "type": [ - "object", - { - "all": [ - "object", - { - "children": [ - "object", - { - "controllers": [ - "object", - { - "hosts": [ - "object", - { - "controller.testing.thengo.net": [ - "object", - {} - ] - } - ] - } - ], - "nameservers": [ - "object", - { - "hosts": [ - "object", - { - "ns.testing.thengo.net": [ - "object", - {} - ] - } - ] - } - ], - "provider_hetzner": [ - "object", - { - "hosts": [ - "object", - { - "controller.testing.thengo.net": [ - "object", - { - "ansible_host": "string", - "external_ip": "string" - } - ], - "ns.testing.thengo.net": [ - "object", - { - "ansible_host": "string", - "external_ip": "string" - } - ] - } - ] - } - ] - } - ], - "hosts": [ - "object", - { - "controller.testing.thengo.net": [ - "object", - {} - ], - "ns.testing.thengo.net": [ - "object", - {} - ] - } - ] - } - ] - } - ] - } - }, - "resources": [ - { - "mode": "managed", - "type": "hcloud_server", - "name": "vms", - "each": "map", - "provider": "provider.hcloud", - "instances": [ - { - "index_key": "controller.testing.thengo.net", - "schema_version": 0, - "attributes": { - "backup_window": "", - "backups": false, - "datacenter": "nbg1-dc3", - "id": "5685515", - "image": "debian-10", - "ipv4_address": "116.203.152.103", - "ipv6_address": "2a01:4f8:c0c:c828::1", - "ipv6_network": "2a01:4f8:c0c:c828::/64", - "iso": null, - "keep_disk": false, - "labels": {}, - "location": "nbg1", - "name": "controller.testing.thengo.net", - "rescue": null, - "server_type": "cx11", - "ssh_keys": [ - "1501431" - ], - "status": "running", - "user_data": null - }, - "private": "bnVsbA==", - "dependencies": [ - "hcloud_ssh_key.ssh_keys" - ] - }, - { - "index_key": "ns.testing.thengo.net", - "schema_version": 0, - "attributes": { - "backup_window": "", - "backups": false, - "datacenter": "nbg1-dc3", - "id": "5685513", - "image": "debian-10", - "ipv4_address": "116.203.152.95", - "ipv6_address": "2a01:4f8:c0c:c827::1", - "ipv6_network": "2a01:4f8:c0c:c827::/64", - "iso": null, - "keep_disk": false, - "labels": {}, - "location": "nbg1", - "name": "ns.testing.thengo.net", - "rescue": null, - "server_type": "cx11", - "ssh_keys": [ - "1501431" - ], - "status": "running", - "user_data": null - }, - "private": "bnVsbA==", - "dependencies": [ - "hcloud_ssh_key.ssh_keys" - ] - } - ] - }, - { - "mode": "managed", - "type": "hcloud_ssh_key", - "name": "ssh_keys", - "each": "map", - "provider": "provider.hcloud", - "instances": [ - { - "index_key": "~/.ssh/id_ed25519.pub", - "schema_version": 0, - "attributes": { - "fingerprint": "75:3c:1e:51:61:71:51:48:d0:45:18:e4:66:19:de:6e", - "id": "1501431", - "labels": {}, - "name": "~/.ssh/id_ed25519.pub", - "public_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGwdEkFBdQfY5YB6LR1l+copG7rZXlGLQyWWwhZdNkpW ka\n" - }, - "private": "bnVsbA==" - } - ] - }, - { - "mode": "managed", - "type": "local_file", - "name": "foo", - "provider": "provider.local", - "instances": [ - { - "schema_version": 0, - "attributes": { - "content": "{\"all\":{\"children\":{\"controllers\":{\"hosts\":{\"controller.testing.thengo.net\":{}}},\"nameservers\":{\"hosts\":{\"ns.testing.thengo.net\":{}}},\"provider_hetzner\":{\"hosts\":{\"controller.testing.thengo.net\":{\"ansible_host\":\"116.203.152.103\",\"external_ip\":\"116.203.152.103\"},\"ns.testing.thengo.net\":{\"ansible_host\":\"116.203.152.95\",\"external_ip\":\"116.203.152.95\"}}}},\"hosts\":{\"controller.testing.thengo.net\":{},\"ns.testing.thengo.net\":{}}}}", - "content_base64": null, - "directory_permission": "0755", - "file_permission": "0644", - "filename": "inventory.json", - "id": "24344b5c76e5b8f59034052299c331fe9ea170c3", - "sensitive_content": null - }, - "private": "bnVsbA==", - "dependencies": [ - "hcloud_server.vms" - ] - } - ] - } - ] -}