generated from cloudposse/terraform-example-module
-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Upgrade security group module #24
Closed
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
fa934a0
Fixing 'id' output to properly output the disambiguated ID of the pro…
girdot 213a41d
Auto Format
cloudpossebot 9e74ef0
Null 'id' output if module disabled
girdot c79bda1
make pr/auto-format
nitrocode 03ed99f
Auto Format
cloudpossebot 590b65a
Add sg inputs, deprecate inputs, migration doc
nitrocode 33b12c5
Auto Format
cloudpossebot 9e1aa12
Use non-deprecated inputs
nitrocode aa94a7f
Auto Format
cloudpossebot f8e87bb
rm duplicate input var.vpc_id
nitrocode 8f79a0c
Auto Format
cloudpossebot 6b825ad
Merge branch 'feature/add-transfer-server-id-to-output' into sg-latest
nitrocode a790dbc
make pr/auto-format
nitrocode 1dcfe77
tf 0.14 versions and make pr/auto-format
nitrocode e019969
Bump golang tests
nitrocode 9bcc64d
Use var allowed security groups
nitrocode ed408aa
Allow optional vpc_id and regenerate readme
nitrocode ab64dbb
Remove unused golang var
nitrocode 5fc222c
Use version 2 of sg inputs
nitrocode 2bcf6ba
Auto Format
cloudpossebot aff8350
Use sg version 3 exports, v2 of sg module
nitrocode 5328557
Bump versions to tf 1.0.0 as required by sg 2.x
nitrocode e7b2a4c
Use endpoint type, sg inputs, small fixes
nitrocode 79b1093
Use upstream sg fix
nitrocode ff4897d
Used allowed ipv6 sg inputs
nitrocode a7d5331
wip
nitrocode File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,6 @@ version-resolver: | |
- 'bugfix' | ||
- 'bug' | ||
- 'hotfix' | ||
- 'no-release' | ||
default: 'minor' | ||
|
||
categories: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Migration from 0.6.0 to 0.7.x+ | ||
|
||
Change the following | ||
|
||
- `security_group_enabled` to `create_security_group` | ||
- `security_group_use_name_prefix` to `security_group_create_before_destroy`. This now defaults to `true`. | ||
- `security_group_rules` to `additional_security_group_rules` and omit the port `22` rules since those are added by the new version of the module. | ||
- `security_group_description` may need to be set to `The Security Group description.` which was the original description in version 0.6.0. | ||
- `vpc_security_group_ids` to `associated_security_group_ids` | ||
|
||
A terraform state move may be needed in case the security group resource has moved between versions. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,5 @@ sftp_users = { | |
"kenny" = { | ||
user_name = "kenny", | ||
public_key = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCYN8IRq10gKJj5/y2IHYFFRXHctJ+VblcsOnwvsbUIB+PKMLLWd5ySpW30s8OFVcxpMu2VXzXVKRGGbOUbZEN7MqH9xkW8eV6tSfXsZK2osLdIQ3QG3eSyoN4gPFlDBkZSzmkb2oaaclGPGRezbzDnp+oz8IiC5ZE8aprq3Xk850fifIEEOhJtVsrL84uwgx4LGZMMQmLdf6xm2SMSMx53zDPtSnlSeMlC2qUz6LBC41gwObQDoh0j3svsENf8FS8iIkdX50NaRoZvhJU0Oud5A7bj3zz0xtKn6uQZnL9hb6ttvp2/mNe1CKBZt9hUdrn4SHPs0sbWYbQLTzp+9okcg8LCe7qnFdHH7xQGp17SAgi5f91RPOUWtqvkOC5yoVaveR82KZObU+HSCfT/PObLjdUDtWrZABp4VM/u5t9Fn6BQ+eRSAiCIqLQlizs9kpKO8LYX7CagxRJz8KtRXfhndA3nTFq35vml8rD5hKsTrtbSkycmytQZ8TF7IwuN0amRfZ7Iwb3/eLTEv6jp5PKKVprBvnjDH1ipn/AwidsKrbCCVquKg0X/7rwVLrvMuYAtlxPLqjqZpvfTwXBwLlHTEuCvuh/Y/TpjJqqxCnbY/6R4TcabHVGsA4b1kVajRbvVPZPGVcWs+XvycO4Y8KR/hZZGGxK16SVFGbrnhX1D2Q== [email protected]" | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
output "id" { | ||
description = "ID of the created example" | ||
value = module.example.id | ||
value = module.sftp.id | ||
} | ||
|
||
output "transfer_endpoint" { | ||
description = "Endpoint for your SFTP connection" | ||
value = module.example.transfer_endpoint | ||
value = module.sftp.transfer_endpoint | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
terraform { | ||
required_version = ">= 0.13.7" | ||
required_version = ">= 1.0.0" | ||
|
||
required_providers {} | ||
required_providers { | ||
aws = { | ||
source = "hashicorp/aws" | ||
version = ">= 3.0" | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
output "id" { | ||
description = "ID of the created example" | ||
value = module.example.id | ||
value = module.sftp.id | ||
} | ||
|
||
output "transfer_endpoint" { | ||
description = "Endpoint for your SFTP connection" | ||
value = module.example.transfer_endpoint | ||
value = module.sftp.transfer_endpoint | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
terraform { | ||
required_version = ">= 0.13.7" | ||
required_version = ">= 1.0.0" | ||
|
||
required_providers {} | ||
required_providers { | ||
aws = { | ||
source = "hashicorp/aws" | ||
version = ">= 3.0" | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.