Skip to content

chore: update Terraform testdata by running generate.sh #18044

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore: run generate.sh to update Terraform testdata for provider v2.5.0
  • Loading branch information
ssncferreira committed May 26, 2025
commit 446523a739e5ac1803520c39afd5623bccd72346
27 changes: 27 additions & 0 deletions provisioner/terraform/resources_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func TestConvertResources(t *testing.T) {
OperatingSystem: "linux",
Architecture: "amd64",
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand All @@ -84,6 +85,7 @@ func TestConvertResources(t *testing.T) {
OperatingSystem: "linux",
Architecture: "amd64",
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand All @@ -103,6 +105,7 @@ func TestConvertResources(t *testing.T) {
OperatingSystem: "linux",
Architecture: "amd64",
Auth: &proto.Agent_InstanceId{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand All @@ -120,6 +123,7 @@ func TestConvertResources(t *testing.T) {
OperatingSystem: "linux",
Architecture: "amd64",
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand All @@ -138,6 +142,7 @@ func TestConvertResources(t *testing.T) {
OperatingSystem: "linux",
Architecture: "amd64",
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand All @@ -146,6 +151,7 @@ func TestConvertResources(t *testing.T) {
OperatingSystem: "darwin",
Architecture: "amd64",
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 1,
MotdFile: "/etc/motd",
DisplayApps: &displayApps,
Expand All @@ -162,6 +168,7 @@ func TestConvertResources(t *testing.T) {
OperatingSystem: "windows",
Architecture: "arm64",
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
TroubleshootingUrl: "https://coder.com/troubleshoot",
DisplayApps: &displayApps,
Expand All @@ -171,6 +178,7 @@ func TestConvertResources(t *testing.T) {
OperatingSystem: "linux",
Architecture: "amd64",
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand Down Expand Up @@ -213,6 +221,7 @@ func TestConvertResources(t *testing.T) {
},
},
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand Down Expand Up @@ -240,6 +249,7 @@ func TestConvertResources(t *testing.T) {
},
},
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand Down Expand Up @@ -275,6 +285,7 @@ func TestConvertResources(t *testing.T) {
},
},
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand All @@ -295,6 +306,7 @@ func TestConvertResources(t *testing.T) {
},
},
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand All @@ -320,6 +332,7 @@ func TestConvertResources(t *testing.T) {
},
},
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand All @@ -338,6 +351,7 @@ func TestConvertResources(t *testing.T) {
},
},
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand Down Expand Up @@ -383,6 +397,7 @@ func TestConvertResources(t *testing.T) {
},
},
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{
Expand All @@ -398,6 +413,7 @@ func TestConvertResources(t *testing.T) {
Architecture: "amd64",
Apps: []*proto.App{},
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{
Expand Down Expand Up @@ -443,6 +459,7 @@ func TestConvertResources(t *testing.T) {
},
},
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand All @@ -462,6 +479,7 @@ func TestConvertResources(t *testing.T) {
},
},
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand Down Expand Up @@ -492,6 +510,7 @@ func TestConvertResources(t *testing.T) {
Agents: []*proto.Agent{{
Name: "main",
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
OperatingSystem: "linux",
Architecture: "amd64",
Metadata: []*proto.Agent_Metadata{{
Expand Down Expand Up @@ -577,6 +596,7 @@ func TestConvertResources(t *testing.T) {
OperatingSystem: "windows",
Architecture: "arm64",
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand Down Expand Up @@ -657,6 +677,7 @@ func TestConvertResources(t *testing.T) {
OperatingSystem: "windows",
Architecture: "arm64",
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand Down Expand Up @@ -684,6 +705,7 @@ func TestConvertResources(t *testing.T) {
OperatingSystem: "windows",
Architecture: "arm64",
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand Down Expand Up @@ -738,6 +760,7 @@ func TestConvertResources(t *testing.T) {
OperatingSystem: "linux",
Architecture: "amd64",
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand All @@ -754,6 +777,7 @@ func TestConvertResources(t *testing.T) {
OperatingSystem: "linux",
Architecture: "amd64",
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &proto.DisplayApps{
VscodeInsiders: true,
Expand All @@ -772,6 +796,7 @@ func TestConvertResources(t *testing.T) {
OperatingSystem: "linux",
Architecture: "amd64",
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &proto.DisplayApps{},
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand All @@ -787,6 +812,7 @@ func TestConvertResources(t *testing.T) {
OperatingSystem: "windows",
Architecture: "arm64",
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand Down Expand Up @@ -843,6 +869,7 @@ func TestConvertResources(t *testing.T) {
OperatingSystem: "linux",
Architecture: "amd64",
Auth: &proto.Agent_Token{},
ApiKeyScope: "all",
ConnectionTimeoutSeconds: 120,
DisplayApps: &displayApps,
ResourcesMonitoring: &proto.ResourcesMonitoring{},
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading