strongdm / terraform-sdm-onboarding

Create your strongDM onboarding environment in AWS
MIT License
5 stars 13 forks source link

RDP, MySQL and HTTP resource creation fails if Gateway creation is disabled #6

Closed wrenhunter closed 2 years ago

wrenhunter commented 2 years ago

Description

Certain resources are not created if create_gateway is set to FALSE.

Because windows_rdp, mysql, and http resources use gateway_security_group_id in onboarding/main.tf, you will get this error:

module.sdm is empty tuple

if you run terraform apply in this case.