Skip to content

Commit

Permalink
Testing updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bczoma committed Mar 19, 2024
1 parent 34c2eb0 commit 72610f5
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
42 changes: 42 additions & 0 deletions ci/module-test/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ provider "solacebroker" {

module "testvpn" {
source = "../.."
# version = ""

msg_vpn_name = "testvpn"
acl_profile_name = "testvpn-acl-profile"
Expand Down Expand Up @@ -45,10 +46,50 @@ module "testvpn" {
attribute_value = "test"
}
]
authentication_kerberos_enabled = true
}

output "created_msg_vpn" {
value = module.testvpn.msg_vpn
sensitive = true
}

output "created_acl_profile" {
value = module.testvpn.acl_profile
}

output "created_client_profile" {
value = module.testvpn.client_profile
}

output "created_oauth_profile" {
value = module.testvpn.oauth_profile
sensitive = true
}

output "created_oauth_profile_client_required_claims" {
value = module.testvpn.oauth_profile_client_required_claims
}

output "created_oauth_profile_resource_server_required_claims" {
value = module.testvpn.oauth_profile_resource_server_required_claims
}

output "created_cert_matching_rule" {
value = module.testvpn.cert_matching_rule
}

output "created_cert_matching_rule_conditions" {
value = module.testvpn.cert_matching_rule_conditions
}

output "created_cert_matching_rule_attribute_filters" {
value = module.testvpn.cert_matching_rule_attribute_filters
}

module "testvpn2" {
source = "../.."
# version = ""

msg_vpn_name = "testvpn2"
acl_profile_name = "testvpn-acl-profile2"
Expand All @@ -57,6 +98,7 @@ module "testvpn2" {

module "defaultvpn" {
source = "../.."
# version = ""

msg_vpn_name = "default"
enabled = false
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-vpn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ terraform plan
terraform apply
```

Run `terraform destroy` to clean up created resources when no longer needed.
Run `terraform destroy` to clean up created resources when no longer needed. Note that as part of this command there may be a warning about default objects cannot be deleted, this is normal and expected here.

## Additional Documentation

Expand Down

0 comments on commit 72610f5

Please sign in to comment.