Skip to content

Commit

Permalink
Fixed GitHub action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfmnk committed Oct 25, 2024
1 parent c88075c commit 0e5da11
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
3 changes: 1 addition & 2 deletions cloudconnexa/resource_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ resource "cloudconnexa_network" "test" {
vpn_region_id = "fi-hel"
}
default_route {
value = "10.1.2.0/24"
type = "IP_V4"
subnet = "192.168.0.0/24"
}
}
Expand Down
6 changes: 3 additions & 3 deletions cloudconnexa/resource_user_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ provider "cloudconnexa" {
base_url = "https://%s.api.openvpn.com"
}
resource "cloudconnexa_user_group" "test" {
name = "%s"
vpn_region_ids = %s
name = "%s"
vpn_region_ids = %s
connect_auth = "AUTH"
}
`, testCloudID, userGroup.Name, idsStr)
}
7 changes: 7 additions & 0 deletions cloudconnexa/resource_user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,18 @@ func testAccCloudConnexaUserConfig(user cloudconnexa.User) string {
provider "cloudconnexa" {
base_url = "https://%s.api.openvpn.com"
}
resource "cloudconnexa_user_group" "userGroup1" {
name = "test-group"
vpn_region_ids = ["eu-central-1"]
connect_auth = "AUTH"
}
resource "cloudconnexa_user" "test" {
username = "%s"
email = "%s"
first_name = "%s"
last_name = "%s"
group_id = cloudconnexa_user_group.userGroup1.id
}
`, testCloudID, user.Username, user.Email, user.FirstName, user.LastName)
}

0 comments on commit 0e5da11

Please sign in to comment.