Skip to content

Commit

Permalink
Fix missing options for acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
briancain committed Aug 8, 2024
1 parent 8ac2c1e commit 7b01220
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,15 @@ resource "hcp_waypoint_add_on_definition" "test" {
name = %q
summary = "some summary for fun"
description = "some description for fun"
terraform_no_code_module = "private/waypoint-tfc-testing/waypoint-template-starter/null"
terraform_no_code_module_source = "private/waypoint-tfc-testing/waypoint-template-starter/null"
terraform_project_id = "prj-gfVyPJ2q2Aurn25o"
terraform_cloud_workspace_details = {
name = "Default Project"
terraform_project_id = "prj-gfVyPJ2q2Aurn25o"
}
variable_options = [
{
name = "string_variable"
{
name = "string_variable"
variable_type = "string"
options = [
"b"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ resource "hcp_waypoint_add_on_definition" "test_var_opts" {
summary = "some summary for fun"
description = "some description"
readme_markdown_template = base64encode("# Some Readme")
terraform_no_code_module = "private/waypoint-tfc-testing/waypoint-vault-dweller/null"
terraform_no_code_module_source = "private/waypoint-tfc-testing/waypoint-vault-dweller/null"
terraform_project_id = "prj-gfVyPJ2q2Aurn25o"
terraform_cloud_workspace_details = {
name = "Default Project"
Expand Down
18 changes: 9 additions & 9 deletions internal/provider/waypoint/resource_waypoint_application_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,8 @@ resource "hcp_waypoint_template" "test" {
name = "%s"
summary = "some summary for fun"
readme_markdown_template = base64encode("# Some Readme")
terraform_no_code_module = {
source = "private/waypoint-tfc-testing/waypoint-template-starter/null"
version = "0.0.2"
}
terraform_no_code_module_source = "private/waypoint-tfc-testing/waypoint-template-starter/null"
terraform_project_id = "prj-gfVyPJ2q2Aurn25o"
terraform_cloud_workspace_details = {
name = "Default Project"
terraform_project_id = "prj-gfVyPJ2q2Aurn25o"
Expand All @@ -216,6 +214,7 @@ resource "hcp_waypoint_template" "test_var_opts" {
summary = "some summary for fun"
readme_markdown_template = base64encode("# Some Readme")
terraform_no_code_module_source = "private/waypoint-tfc-testing/waypoint-vault-dweller/null"
terraform_project_id = "prj-gfVyPJ2q2Aurn25o"
terraform_cloud_workspace_details = {
name = "Default Project"
terraform_project_id = "prj-gfVyPJ2q2Aurn25o"
Expand Down Expand Up @@ -274,25 +273,26 @@ resource "hcp_waypoint_template" "test_var_opts" {
summary = "some summary for fun"
readme_markdown_template = base64encode("# Some Readme")
terraform_no_code_module_source = "private/waypoint-tfc-testing/waypoint-vault-dweller/null"
terraform_project_id = "prj-gfVyPJ2q2Aurn25o"
terraform_cloud_workspace_details = {
name = "Default Project"
terraform_project_id = "prj-gfVyPJ2q2Aurn25o"
}
labels = ["fallout", "vault-tec"]
variable_options = [
{
name = "vault_dweller_name"
{
name = "vault_dweller_name"
variable_type = "string"
user_editable = false
options = [
options = [
"lone-wanderer",
]
},
{
name = "faction"
name = "faction"
variable_type = "string"
user_editable = false
options = [
options = [
"brotherhood-of-steel",
]
},
Expand Down

0 comments on commit 7b01220

Please sign in to comment.