瀏覽代碼

remove tfstate files from repo

master
父節點
當前提交
7786f1331c
共有 3 個檔案被更改,包括 2 行新增411 行删除
  1. +2
    -0
      .gitignore
  2. +0
    -173
      terraform.tfstate
  3. +0
    -238
      terraform.tfstate.backup

+ 2
- 0
.gitignore 查看文件

@@ -1,2 +1,4 @@
.terraform
*.auto.tfvars
*.tfstate
*.tfstate.backup

+ 0
- 173
terraform.tfstate 查看文件

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

+ 0
- 238
terraform.tfstate.backup 查看文件

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

Loading…
取消
儲存