fix: Use explicit resource order when assocating agents (#2219)

This cleans up agent association code to explicitly map a single
agent to a single resource. This will fix #1884, and unblock
a prospect from beginning a POC.
This commit is contained in:
Kyle Carberry
2022-06-10 10:47:36 -05:00
committed by GitHub
parent 6bee180bb3
commit f9290b016e
21 changed files with 733 additions and 226 deletions

View File

@ -16,11 +16,11 @@
"auth": "token",
"dir": null,
"env": null,
"id": "04cb673b-c7b5-47c9-a445-f0f7e11f2696",
"id": "521a6bee-1193-468f-bbe9-4a25a870a9f0",
"init_script": "",
"os": "linux",
"startup_script": null,
"token": "95e9607b-1ff3-4a35-8ee8-c61248fb5642"
"token": "ee0452e2-7efe-4a84-9407-e871c7c4f4c4"
},
"sensitive_values": {}
},
@ -36,11 +36,11 @@
"auth": "token",
"dir": null,
"env": null,
"id": "d97044e4-ce09-4eaf-904e-cd9575f07122",
"id": "f1c2eb3a-2303-4499-8cfc-5a63f5d57def",
"init_script": "",
"os": "darwin",
"startup_script": null,
"token": "dc49231a-57e1-4a21-bb74-ae34f753d7bf"
"token": "15ea44b7-acd7-41d5-98a3-93ac23bd2b84"
},
"sensitive_values": {}
},
@ -56,11 +56,11 @@
"auth": "token",
"dir": null,
"env": null,
"id": "8b03bbd1-bd6a-4a54-b083-9d773c91de54",
"id": "445a229e-6886-46ba-9947-94d39b90b941",
"init_script": "",
"os": "windows",
"startup_script": null,
"token": "4b91ef3f-cada-4b27-9872-df2c5a47e24a"
"token": "26a999c8-d281-46da-a296-15318d4c0998"
},
"sensitive_values": {}
},
@ -72,7 +72,7 @@
"provider_name": "registry.terraform.io/hashicorp/null",
"schema_version": 0,
"values": {
"id": "8472507680226374958",
"id": "6903043049471472110",
"triggers": null
},
"sensitive_values": {},