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

update supported parameters for Event Streams #1946

Merged
merged 1 commit into from
Oct 7, 2020
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
14 changes: 10 additions & 4 deletions examples/ibm-event-streams/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,19 @@ resource "ibm_resource_instance" "es_instance_1" {
resource_group_id = data.ibm_resource_group.group.id

# parameters = {
# service-endpoint = "private" # for enterprise instance
# private_ip_allowlist = ["1.0.0.0/32", "1.0.0.1/32"] # for enterprise instance
# service-endpoint = "private" # for enterprise instance only, Options are: "public", "public-and-private", "private". Default is "public" when not specified.
# private_ip_allowlist = ["1.0.0.0/32", "1.0.0.1/32"] # for enterprise instance only. Specify 1 or more IP range in CIDR format
# # document about using private service endpoint and IP allowlist to restrict access: https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-restrict_access

# throughput = "150" # for enterprise instance only. Options are: "150", "300", "450". Default is "150" when not specified.
# storage_size = "2048" # for enterprise instance only. Options are: "2048", "4096", "6144", "8192", "10240", "12288". Default is "2048" when not specified.
# # Note: when throughput is "300", storage_size starts from "4096", when throughput is "450", storage_size starts from "6144"
# # document about supported combinations of throughput and storage_size: https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-ES_scaling_capacity#ES_scaling_combinations
# }

# timeouts {
# create = "15m" # use 3h when creating enterprise instance
# update = "15m" # use 1h when updating enterprise instance
# create = "15m" # use 3h when creating enterprise instance, add additional 1h for each level of non-default throughput, add additional 30m for each level of non-default storage_size
# update = "15m" # use 1h when updating enterprise instance, add additional 1h for each level of non-default throughput, add additional 30m for each level of non-default storage_size
# delete = "15m"
# }
}
Expand Down
14 changes: 10 additions & 4 deletions examples/ibm-event-streams/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,19 @@ resource "ibm_resource_instance" "es_instance_1" {
resource_group_id = data.ibm_resource_group.group.id

# parameters = {
# service-endpoint = "private" # for enterprise instance
# private_ip_allowlist = ["1.0.0.0/32", "1.0.0.1/32"] # for enterprise instance
# service-endpoint = "private" # for enterprise instance only, Options are: "public", "public-and-private", "private". Default is "public" when not specified.
# private_ip_allowlist = ["1.0.0.0/32", "1.0.0.1/32"] # for enterprise instance only. Specify 1 or more IP range in CIDR format
# # document about using private service endpoint and IP allowlist to restrict access: https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-restrict_access

# throughput = "150" # for enterprise instance only. Options are: "150", "300", "450". Default is "150" when not specified.
# storage_size = "2048" # for enterprise instance only. Options are: "2048", "4096", "6144", "8192", "10240", "12288". Default is "2048" when not specified.
# # Note: when throughput is "300", storage_size starts from "4096", when throughput is "450", storage_size starts from "6144"
# # document about supported combinations of throughput and storage_size: https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-ES_scaling_capacity#ES_scaling_combinations
# }

# timeouts {
# create = "15m" # use 3h when creating enterprise instance
# update = "15m" # use 1h when updating enterprise instance
# create = "15m" # use 3h when creating enterprise instance, add additional 1h for each level of non-default throughput, add additional 30m for each level of non-default storage_size
# update = "15m" # use 1h when updating enterprise instance, add additional 1h for each level of non-default throughput, add additional 30m for each level of non-default storage_size
# delete = "15m"
# }
}
Expand Down