-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Fix count logic for ebs, make variable region
non-required
#5
Merged
Merged
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ Terraform Module for providing N general purpose EC2 hosts. | |
|
||
If you only need to provision a single EC2 instance, consider using the [terraform-aws-ec2-instance](https://github.com/cloudposse/terraform-aws-ec2-instance) module instead. | ||
|
||
**IMPORTANT** This module by-design does not provision an AutoScaling group. It was designed to provision a discrete number of instances suitable for running stateful services such as databases (E.g. Kafka, Redis, etc). | ||
**IMPORTANT** This module by-design does not provision an AutoScaling group. It was designed to provision a discrete number of instances suitable for running stateful services such as databases (E.g. Kafka, Redis, etc). | ||
|
||
|
||
Included features: | ||
|
@@ -21,7 +21,7 @@ Included features: | |
|
||
--- | ||
|
||
This project is part of our comprehensive ["SweetOps"](https://docs.cloudposse.com) approach towards DevOps. | ||
This project is part of our comprehensive ["SweetOps"](https://docs.cloudposse.com) approach towards DevOps. | ||
|
||
|
||
It's 100% Open Source and licensed under the [APACHE2](LICENSE). | ||
|
@@ -154,7 +154,7 @@ Available targets: | |
| name | Name (e.g. `bastion` or `db`) - required for `terraform-terraform-label` module | string | - | yes | | ||
| namespace | Namespace (e.g. `cp` or `cloudposse`) - required for `terraform-terraform-label` module | string | - | yes | | ||
| private_ips | Private IP address to associate with the instances in the VPC | list | `<list>` | no | | ||
| region | AWS Region the instance is launched in | string | - | yes | | ||
| region | AWS Region the instance is launched in | string | - | no | | ||
| root_iops | Amount of provisioned IOPS. This must be set if root_volume_type is set to `io1` | string | `0` | no | | ||
| root_volume_size | Size of the root volume in gigabytes | string | `10` | no | | ||
| root_volume_type | Type of root volume. Can be standard, gp2 or io1 | string | `gp2` | no | | ||
|
@@ -208,7 +208,7 @@ Check out these related projects. | |
|
||
## References | ||
|
||
For additional context, refer to some of these links. | ||
For additional context, refer to some of these links. | ||
|
||
- [terraform-aws-ec2-bastion-server](https://github.com/cloudposse/terraform-aws-ec2-bastion-server) - Terraform module to define a generic Bastion host with parameterized user_data | ||
|
||
|
@@ -221,9 +221,9 @@ File a GitHub [issue](https://github.com/cloudposse/terraform-aws-ec2-instance-g | |
|
||
## Commercial Support | ||
|
||
Work directly with our team of DevOps experts via email, slack, and video conferencing. | ||
Work directly with our team of DevOps experts via email, slack, and video conferencing. | ||
|
||
We provide [*commercial support*][commercial_support] for all of our [Open Source][github] projects. As a *Dedicated Support* customer, you have access to our team of subject matter experts at a fraction of the cost of a full-time engineer. | ||
We provide [*commercial support*][commercial_support] for all of our [Open Source][github] projects. As a *Dedicated Support* customer, you have access to our team of subject matter experts at a fraction of the cost of a full-time engineer. | ||
|
||
[](mailto:[email protected]) | ||
|
||
|
@@ -233,7 +233,7 @@ We provide [*commercial support*][commercial_support] for all of our [Open Sourc | |
- **Bug Fixes.** We'll rapidly work to fix any bugs in our projects. | ||
- **Build New Terraform Modules.** We'll develop original modules to provision infrastructure. | ||
- **Cloud Architecture.** We'll assist with your cloud strategy and design. | ||
- **Implementation.** We'll provide hands-on support to implement our reference architectures. | ||
- **Implementation.** We'll provide hands-on support to implement our reference architectures. | ||
|
||
|
||
## Community Forum | ||
|
@@ -267,9 +267,9 @@ Copyright © 2017-2018 [Cloud Posse, LLC](https://cloudposse.com) | |
|
||
|
||
|
||
## License | ||
## License | ||
|
||
[](https://opensource.org/licenses/Apache-2.0) | ||
[](https://opensource.org/licenses/Apache-2.0) | ||
|
||
See [LICENSE](LICENSE) for full details. | ||
|
||
|
@@ -310,7 +310,7 @@ This project is maintained and funded by [Cloud Posse, LLC][website]. Like it? P | |
|
||
We're a [DevOps Professional Services][hire] company based in Los Angeles, CA. We love [Open Source Software](https://github.com/cloudposse/)! | ||
|
||
We offer paid support on all of our projects. | ||
We offer paid support on all of our projects. | ||
|
||
Check out [our other projects][github], [apply for a job][jobs], or [hire us][hire] to help with your cloud strategy and implementation. | ||
|
||
|
@@ -335,5 +335,3 @@ Check out [our other projects][github], [apply for a job][jobs], or [hire us][hi | |
[osterman_avatar]: https://github.com/osterman.png?size=150 | ||
[Jamie-BitFlight_homepage]: https://github.com/Jamie-BitFlight | ||
[Jamie-BitFlight_avatar]: https://github.com/Jamie-BitFlight.png?size=150 | ||
|
||
|
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
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
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.
looks like
volume_tags
is not in use.and it's the same as
tags
?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.
nope, isn't a same. ltmgfy :)
in case of module it's rood device i.e.
/
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.
@SweetOps
they are the same in the code, and
volume_tags
is not in use anywhere.please review it
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.
tbh, I don't understand what you want to hear. Why the both of them have same tags? It is necessary for consistency e.g. instance with name
cp-test-kafka-1
should has the same name for root device (cp-test-kafka-1
) and same tags as instance to which it assigned.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.
volume_tags
has been removed due hashicorp/terraform#3531 (comment)