-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat: Updated all modules to new Zscaler RHEL9 Images #18
Conversation
@@ -39,7 +39,7 @@ resource "aws_key_pair" "deployer" { | |||
|
|||
resource "local_file" "private_key" { | |||
content = tls_private_key.key.private_key_pem | |||
filename = "../${var.name_prefix}-key-${random_string.suffix.result}.pem" | |||
filename = "./${var.name_prefix}-key-${random_string.suffix.result}.pem" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@willguibr no concerns here. just curious what was the driver to bump this file right up to the specific examples dir rather than /examples itself?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jmolnar-zscaler When you deploy, the VM, then to authenticate to it after, you have to go out of the i.e base_ac folder in order to use the key. I found it easier to store all generated artifacts directly in the folder you're already executing the module from. Was there a design issue with that?
examples/ac_asg/main.tf
Outdated
@@ -256,7 +287,7 @@ module "ac_asg" { | |||
depends_on = [ | |||
module.zpa_provisioning_key, | |||
local_file.user_data_file, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@willguibr this file is actually not needed and we ran into a weird terraform/aws dependency problem with customers that weren't storing this file after the initial run in their CICD. you can just remove both of those lines of local_file in depends_on for all examples reference
## [1.5.0](v1.4.0...v1.5.0) (2024-07-25) ### Features * Updated all modules to new Zscaler RHEL9 Images ([#18](#18)) ([af49827](af49827))
This PR is included in version 1.5.0 🎉 |
~> IMPORTANT Starting on upcoming version 1.5.0 of this module, all App Connectors are deployed using the new Red Hat Enterprise Linux 9