-
Notifications
You must be signed in to change notification settings - Fork 0
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 resources for throughput experiment #716
Merged
matthewhughes-uw
merged 1 commit into
main
from
mhughes-DENA-1069-update-throughput-roles
Nov 28, 2024
Merged
Update resources for throughput experiment #716
matthewhughes-uw
merged 1 commit into
main
from
mhughes-DENA-1069-update-throughput-roles
Nov 28, 2024
Conversation
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
* Drop old ACLs: these only existed because the `tls-app` module used to create quotas and we didn't want those on the topic, the module no longer creates those quotas, so just rely on the module * Unify consumer requirements into a single module: so the single deployment can consume from one topic and write to another Ticket: DENA-1069
Terraform run output for
✅ Run Status: Ok, Run Summary: Plan: 3 to add, 0 to change, 3 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
- destroy
Terraform will perform the following actions:
# kafka_acl.throughput_consumer_group_acl will be destroyed
# (because kafka_acl.throughput_consumer_group_acl is not in configuration)
- resource "kafka_acl" "throughput_consumer_group_acl" {
- acl_host = "*" -> null
- acl_operation = "Read" -> null
- acl_permission_type = "Allow" -> null
- acl_principal = "User:CN=pubsub/throughput-test-consumer" -> null
- id = "User:CN=pubsub/throughput-test-consumer|*|Read|Allow|Group|pubsub.consume-throughput|Literal" -> null
- resource_name = "pubsub.consume-throughput" -> null
- resource_pattern_type_filter = "Literal" -> null
- resource_type = "Group" -> null
}
# kafka_acl.throughput_consumer_topic_acl will be destroyed
# (because kafka_acl.throughput_consumer_topic_acl is not in configuration)
- resource "kafka_acl" "throughput_consumer_topic_acl" {
- acl_host = "*" -> null
- acl_operation = "Read" -> null
- acl_permission_type = "Allow" -> null
- acl_principal = "User:CN=pubsub/throughput-test-consumer" -> null
- id = "User:CN=pubsub/throughput-test-consumer|*|Read|Allow|Topic|pubsub.throughput-test|Literal" -> null
- resource_name = "pubsub.throughput-test" -> null
- resource_pattern_type_filter = "Literal" -> null
- resource_type = "Topic" -> null
}
# module.example_producer_throughput_out.kafka_acl.producer_acl["pubsub.throughput-test-out"] will be destroyed
# (because kafka_acl.producer_acl is not in configuration)
- resource "kafka_acl" "producer_acl" {
- acl_host = "*" -> null
- acl_operation = "Write" -> null
- acl_permission_type = "Allow" -> null
- acl_principal = "User:CN=pubsub/example-throughput-producer-out" -> null
- id = "User:CN=pubsub/example-throughput-producer-out|*|Write|Allow|Topic|pubsub.throughput-test-out|Literal" -> null
- resource_name = "pubsub.throughput-test-out" -> null
- resource_pattern_type_filter = "Literal" -> null
- resource_type = "Topic" -> null
}
# module.throughput_test_consumer.kafka_acl.group_acl["pubsub.throughput-test-consumer"] will be created
+ resource "kafka_acl" "group_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=pubsub/throughput-test-consumer"
+ id = (known after apply)
+ resource_name = "pubsub.throughput-test-consumer"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Group"
}
# module.throughput_test_consumer.kafka_acl.producer_acl["pubsub.throughput-test-out"] will be created
+ resource "kafka_acl" "producer_acl" {
+ acl_host = "*"
+ acl_operation = "Write"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=pubsub/throughput-test-consumer"
+ id = (known after apply)
+ resource_name = "pubsub.throughput-test-out"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Topic"
}
# module.throughput_test_consumer.kafka_acl.topic_acl["pubsub.throughput-test"] will be created
+ resource "kafka_acl" "topic_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=pubsub/throughput-test-consumer"
+ id = (known after apply)
+ resource_name = "pubsub.throughput-test"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Topic"
}
Plan: 3 to add, 0 to change, 3 to destroy.
|
1 similar comment
Terraform run output for
✅ Run Status: Ok, Run Summary: Plan: 3 to add, 0 to change, 3 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
- destroy
Terraform will perform the following actions:
# kafka_acl.throughput_consumer_group_acl will be destroyed
# (because kafka_acl.throughput_consumer_group_acl is not in configuration)
- resource "kafka_acl" "throughput_consumer_group_acl" {
- acl_host = "*" -> null
- acl_operation = "Read" -> null
- acl_permission_type = "Allow" -> null
- acl_principal = "User:CN=pubsub/throughput-test-consumer" -> null
- id = "User:CN=pubsub/throughput-test-consumer|*|Read|Allow|Group|pubsub.consume-throughput|Literal" -> null
- resource_name = "pubsub.consume-throughput" -> null
- resource_pattern_type_filter = "Literal" -> null
- resource_type = "Group" -> null
}
# kafka_acl.throughput_consumer_topic_acl will be destroyed
# (because kafka_acl.throughput_consumer_topic_acl is not in configuration)
- resource "kafka_acl" "throughput_consumer_topic_acl" {
- acl_host = "*" -> null
- acl_operation = "Read" -> null
- acl_permission_type = "Allow" -> null
- acl_principal = "User:CN=pubsub/throughput-test-consumer" -> null
- id = "User:CN=pubsub/throughput-test-consumer|*|Read|Allow|Topic|pubsub.throughput-test|Literal" -> null
- resource_name = "pubsub.throughput-test" -> null
- resource_pattern_type_filter = "Literal" -> null
- resource_type = "Topic" -> null
}
# module.example_producer_throughput_out.kafka_acl.producer_acl["pubsub.throughput-test-out"] will be destroyed
# (because kafka_acl.producer_acl is not in configuration)
- resource "kafka_acl" "producer_acl" {
- acl_host = "*" -> null
- acl_operation = "Write" -> null
- acl_permission_type = "Allow" -> null
- acl_principal = "User:CN=pubsub/example-throughput-producer-out" -> null
- id = "User:CN=pubsub/example-throughput-producer-out|*|Write|Allow|Topic|pubsub.throughput-test-out|Literal" -> null
- resource_name = "pubsub.throughput-test-out" -> null
- resource_pattern_type_filter = "Literal" -> null
- resource_type = "Topic" -> null
}
# module.throughput_test_consumer.kafka_acl.group_acl["pubsub.throughput-test-consumer"] will be created
+ resource "kafka_acl" "group_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=pubsub/throughput-test-consumer"
+ id = (known after apply)
+ resource_name = "pubsub.throughput-test-consumer"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Group"
}
# module.throughput_test_consumer.kafka_acl.producer_acl["pubsub.throughput-test-out"] will be created
+ resource "kafka_acl" "producer_acl" {
+ acl_host = "*"
+ acl_operation = "Write"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=pubsub/throughput-test-consumer"
+ id = (known after apply)
+ resource_name = "pubsub.throughput-test-out"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Topic"
}
# module.throughput_test_consumer.kafka_acl.topic_acl["pubsub.throughput-test"] will be created
+ resource "kafka_acl" "topic_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=pubsub/throughput-test-consumer"
+ id = (known after apply)
+ resource_name = "pubsub.throughput-test"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Topic"
}
Plan: 3 to add, 0 to change, 3 to destroy.
|
sbuliarca
approved these changes
Nov 28, 2024
matthewhughes-uw
deleted the
mhughes-DENA-1069-update-throughput-roles
branch
November 28, 2024 15:14
Terraform run output for
✅ Run Status: Ok, Run Summary: Apply complete! Resources: 3 added, 0 changed, 3 destroyedTerraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
- destroy
Terraform will perform the following actions:
# kafka_acl.throughput_consumer_group_acl will be destroyed
# (because kafka_acl.throughput_consumer_group_acl is not in configuration)
- resource "kafka_acl" "throughput_consumer_group_acl" {
- acl_host = "*" -> null
- acl_operation = "Read" -> null
- acl_permission_type = "Allow" -> null
- acl_principal = "User:CN=pubsub/throughput-test-consumer" -> null
- id = "User:CN=pubsub/throughput-test-consumer|*|Read|Allow|Group|pubsub.consume-throughput|Literal" -> null
- resource_name = "pubsub.consume-throughput" -> null
- resource_pattern_type_filter = "Literal" -> null
- resource_type = "Group" -> null
}
# kafka_acl.throughput_consumer_topic_acl will be destroyed
# (because kafka_acl.throughput_consumer_topic_acl is not in configuration)
- resource "kafka_acl" "throughput_consumer_topic_acl" {
- acl_host = "*" -> null
- acl_operation = "Read" -> null
- acl_permission_type = "Allow" -> null
- acl_principal = "User:CN=pubsub/throughput-test-consumer" -> null
- id = "User:CN=pubsub/throughput-test-consumer|*|Read|Allow|Topic|pubsub.throughput-test|Literal" -> null
- resource_name = "pubsub.throughput-test" -> null
- resource_pattern_type_filter = "Literal" -> null
- resource_type = "Topic" -> null
}
# module.example_producer_throughput_out.kafka_acl.producer_acl["pubsub.throughput-test-out"] will be destroyed
# (because kafka_acl.producer_acl is not in configuration)
- resource "kafka_acl" "producer_acl" {
- acl_host = "*" -> null
- acl_operation = "Write" -> null
- acl_permission_type = "Allow" -> null
- acl_principal = "User:CN=pubsub/example-throughput-producer-out" -> null
- id = "User:CN=pubsub/example-throughput-producer-out|*|Write|Allow|Topic|pubsub.throughput-test-out|Literal" -> null
- resource_name = "pubsub.throughput-test-out" -> null
- resource_pattern_type_filter = "Literal" -> null
- resource_type = "Topic" -> null
}
# module.throughput_test_consumer.kafka_acl.group_acl["pubsub.throughput-test-consumer"] will be created
+ resource "kafka_acl" "group_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=pubsub/throughput-test-consumer"
+ id = (known after apply)
+ resource_name = "pubsub.throughput-test-consumer"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Group"
}
# module.throughput_test_consumer.kafka_acl.producer_acl["pubsub.throughput-test-out"] will be created
+ resource "kafka_acl" "producer_acl" {
+ acl_host = "*"
+ acl_operation = "Write"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=pubsub/throughput-test-consumer"
+ id = (known after apply)
+ resource_name = "pubsub.throughput-test-out"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Topic"
}
# module.throughput_test_consumer.kafka_acl.topic_acl["pubsub.throughput-test"] will be created
+ resource "kafka_acl" "topic_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=pubsub/throughput-test-consumer"
+ id = (known after apply)
+ resource_name = "pubsub.throughput-test"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Topic"
}
Plan: 3 to add, 0 to change, 3 to destroy.
kafka_acl.throughput_consumer_topic_acl: Destroying... [id=User:CN=pubsub/throughput-test-consumer|*|Read|Allow|Topic|pubsub.throughput-test|Literal]
module.example_producer_throughput_out.kafka_acl.producer_acl["pubsub.throughput-test-out"]: Destroying... [id=User:CN=pubsub/example-throughput-producer-out|*|Write|Allow|Topic|pubsub.throughput-test-out|Literal]
kafka_acl.throughput_consumer_group_acl: Destroying... [id=User:CN=pubsub/throughput-test-consumer|*|Read|Allow|Group|pubsub.consume-throughput|Literal]
module.throughput_test_consumer.kafka_acl.group_acl["pubsub.throughput-test-consumer"]: Creating...
module.throughput_test_consumer.kafka_acl.topic_acl["pubsub.throughput-test"]: Creating...
module.throughput_test_consumer.kafka_acl.producer_acl["pubsub.throughput-test-out"]: Creating...
kafka_acl.throughput_consumer_group_acl: Destruction complete after 0s
module.example_producer_throughput_out.kafka_acl.producer_acl["pubsub.throughput-test-out"]: Destruction complete after 0s
kafka_acl.throughput_consumer_topic_acl: Destruction complete after 0s
module.throughput_test_consumer.kafka_acl.producer_acl["pubsub.throughput-test-out"]: Creation complete after 0s [id=User:CN=pubsub/throughput-test-consumer|*|Write|Allow|Topic|pubsub.throughput-test-out|Literal]
module.throughput_test_consumer.kafka_acl.topic_acl["pubsub.throughput-test"]: Creation complete after 0s [id=User:CN=pubsub/throughput-test-consumer|*|Read|Allow|Topic|pubsub.throughput-test|Literal]
module.throughput_test_consumer.kafka_acl.group_acl["pubsub.throughput-test-consumer"]: Creation complete after 0s [id=User:CN=pubsub/throughput-test-consumer|*|Read|Allow|Group|pubsub.throughput-test-consumer|Literal]
Warning: Argument is deprecated
with provider["registry.terraform.io/mongey/kafka"],
on __env.tf line 12, in provider "kafka":
12: provider "kafka" {
This parameter is now deprecated and will be removed in a later release,
please use `client_cert` instead.
(and one more similar warning elsewhere)
Apply complete! Resources: 3 added, 0 changed, 3 destroyed.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
tls-app
module used to create quotas and we didn't want those on the topic, the module no longer creates those quotas, so just rely on the moduleTicket: DENA-1069