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

Add possibility to override security group description #59

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ PS: In some cases you may consider adding flag `-A` to ssh command to enable for
| ami | | string | n/a | yes |
| apply\_changes\_immediately | Whether to apply the changes at once and recreate auto-scaling group | string | `"false"` | no |
| associate\_public\_ip\_address | | string | `"false"` | no |
| aws\_security\_group\_description | | string | `"Bastion security group (only SSH inbound access is allowed)"` | no |
| eip | | string | `""` | no |
| enable\_hourly\_cron\_updates | | string | `"false"` | no |
| enable\_monitoring | | string | `"true"` | no |
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
resource "aws_security_group" "bastion" {
name = var.name
vpc_id = var.vpc_id
description = "Bastion security group (only SSH inbound access is allowed)"
description = var.aws_security_group_description

tags = {
Name = var.name
Expand Down
4 changes: 4 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,7 @@ variable "apply_changes_immediately" {
default = false
}

variable "aws_security_group_description" {
default = "Bastion security group (only SSH inbound access is allowed)"
}