iknowjason / BlueCloud

Cyber Range including Velociraptor + HELK system with a Windows VM for security testing and R&D. Azure and AWS terraform support.
https://blue.iknowjason.io
MIT License
125 stars 28 forks source link

Fix velocihelk-vm sensitive attribute of SSH key #1

Closed rquarry closed 3 years ago

rquarry commented 3 years ago

I wasn't able to build the range due to the following terraform error: terraform Expressions used in outputs can only refer to sensitive values if the sensitive attribute is true.

I'm using the following version:

Terraform v0.15.0
on linux_amd64
+ provider registry.terraform.io/hashicorp/azurerm v2.46.0
+ provider registry.terraform.io/hashicorp/local v2.1.0
+ provider registry.terraform.io/hashicorp/null v3.1.0
+ provider registry.terraform.io/hashicorp/template v2.2.0
+ provider registry.terraform.io/hashicorp/tls v3.1.0
rquarry commented 3 years ago

Totally didn't realize both commits made it into the PR. Reverted the commit on my repo which appears to have had the intended effect here. Let me know if you don't want the revert commit in yours, I can cancel and re-do the PR as well.