Skip to content

Commit 5821ab5

Browse files
committed
fix: Improve Terraform agent<->resource association testing
There were a few bugs with multiple agent association this fixes, and it adds thorough tests using real Terraform state and plans.
1 parent b4645b2 commit 5821ab5

28 files changed

+1784
-694
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ coderd/database/dump.sql linguist-generated=true
33
peerbroker/proto/*.go linguist-generated=true
44
provisionerd/proto/*.go linguist-generated=true
55
provisionersdk/proto/*.go linguist-generated=true
6+
*.tfplan.json
7+
*.tfstate.json
8+
*.tfstate.dot
9+
*.tfplan.dot

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"kirsle",
3939
"ldflags",
4040
"manifoldco",
41+
"mapstructure",
4142
"mattn",
4243
"mitchellh",
4344
"moby",
@@ -67,9 +68,11 @@
6768
"tcpip",
6869
"TCSETS",
6970
"templateversions",
71+
"testdata",
7072
"testid",
7173
"tfexec",
7274
"tfjson",
75+
"tfplan",
7376
"tfstate",
7477
"trimprefix",
7578
"turnconn",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy