Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Terraform Tempalte | Fixed templates to populate tags correctly #318

Merged
merged 3 commits into from
Oct 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
5 changes: 3 additions & 2 deletions terraform/aws/gwlb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,9 @@ In order to check the template version, please refer to [sk116585](https://suppo
| 20221226 | Support ASG Launch Template instead of Launch Configuration |
| 20230521 | Change default shell for the admin user to /etc/cli.sh |
| 20230806 | Add support for c6in instance type |
| 20230830 | Change default Check Point version to R81.20 |
| 20230923 | Add support for C5d instance type |
| 20230830 | Change default Check Point version to R81.20 |
| 20230923 | Add support for C5d instance type |
| 20231022 | Fixed template to populate x-chkp-tags correctly |

## License

Expand Down
4 changes: 2 additions & 2 deletions terraform/aws/gwlb/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ module "autoscale_gwlb" {
admin_shell = var.admin_shell
gateways_provision_address_type = var.gateways_provision_address_type
allocate_public_IP = var.allocate_public_IP
management_server = local.deploy_management_condition ? var.management_server : ""
configuration_template = local.deploy_management_condition ? var.configuration_template : ""
management_server = var.management_server
configuration_template = var.configuration_template
volume_type = var.volume_type
}

Expand Down
3 changes: 2 additions & 1 deletion terraform/aws/qs-autoscale/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ In order to check the template version, please refer to [sk116585](https://suppo
| 20221226 | Support ASG Launch Template instead of Launch Configuration |
| 20230806 | Add support for c6in instance type |
| 20230830 | Change default Check Point version to R81.20 |
| 20230923 | Add support for C5d instance type |
| 20230923 | Add support for C5d instance type |
| 20231022 | Fixed template to populate x-chkp-tags correctly |

## License

Expand Down
4 changes: 2 additions & 2 deletions terraform/aws/qs-autoscale/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ module "autoscale" {
allow_upload_download = var.allow_upload_download
enable_cloudwatch = var.enable_cloudwatch
gateway_bootstrap_script = "echo -e '\nStarting Bootstrap script\n'; echo 'Adding quickstart identifier to cloud-version'; cv_path='/etc/cloud-version'\n if test -f \"$cv_path\"; then sed -i '/template_name/c\\template_name: autoscale_qs' /etc/cloud-version; fi; cv_json_path='/etc/cloud-version.json'\n cv_json_path_tmp='/etc/cloud-version-tmp.json'\n if test -f \"$cv_json_path\"; then cat \"$cv_json_path\" | jq '.template_name = \"'\"autoscale_qs\"'\"' > \"$cv_json_path_tmp\"; mv \"$cv_json_path_tmp\" \"$cv_json_path\"; fi; echo -e '\nFinished Bootstrap script\n'"
management_server = local.deploy_management_condition ? "${var.provision_tag}-management" : ""
configuration_template = local.deploy_management_condition ? "${var.provision_tag}-template" : ""
management_server = "${var.provision_tag}-management"
configuration_template = "${var.provision_tag}-template"
}

data "aws_region" "current"{}
Expand Down
Loading