Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Initializing the backend...
- Initializing provider plugins...
- - Finding juju/juju versions matching "~> 0.10.0"...
- - Installing juju/juju v0.10.1...
- - Installed juju/juju v0.10.1 (self-signed, key ID B836F54C10C569E2)
- Partner and community providers are signed by their developers.
- If you'd like to know more about provider signing, you can read about it here:
- https://www.terraform.io/docs/cli/plugins/signing.html
- Terraform has created a lock file .terraform.lock.hcl to record the provider
- selections it made above. Include this file in your version control repository
- so that Terraform can guarantee to make the same selections by default when
- you run "terraform init" in the future.
- Terraform has been successfully initialized!
- You may now begin working with Terraform. Try running "terraform plan" to see
- any changes that are required for your infrastructure. All Terraform commands
- should now work.
- If you ever set or change modules or backend configuration for Terraform,
- rerun this command to reinitialize your working directory. If you forget, other
- commands will detect it and remind you to do so if necessary.
- juju_model.kafka: Importing from ID "test-terraform-y13p"...
- juju_model.kafka: Import prepared!
- Prepared juju_model for import
- juju_model.kafka: Refreshing state... [id=test-terraform-y13p]
- Import successful!
- The resources that were imported are shown above. These resources are now in
- your Terraform state and will henceforth be managed by Terraform.
- juju_model.kafka: Refreshing state... [id=0ec0bb48-4cba-4635-8a0b-b1b1abf68439]
- Terraform used the selected providers to generate the following execution
- plan. Resource actions are indicated with the following symbols:
- + create
- ~ update in-place
- Terraform will perform the following actions:
- # juju_application.integrator will be created
- + resource "juju_application" "integrator" {
- + config = {
- + "extra-user-roles" = "admin"
- + "topic-name" = "default"
- }
- + constraints = (known after apply)
- + id = (known after apply)
- + model = "test-terraform-y13p"
- + name = (known after apply)
- + placement = (known after apply)
- + principal = (known after apply)
- + trust = false
- + units = 1
- + charm {
- + base = "ubuntu@22.04"
- + channel = "edge"
- + name = "data-integrator"
- + revision = (known after apply)
- + series = (known after apply)
- }
- }
- # juju_application.kafka will be created
- + resource "juju_application" "kafka" {
- + config = {}
- + constraints = (known after apply)
- + id = (known after apply)
- + model = "test-terraform-y13p"
- + name = (known after apply)
- + placement = (known after apply)
- + principal = (known after apply)
- + trust = false
- + units = 1
- + charm {
- + base = "ubuntu@22.04"
- + channel = "3/edge"
- + name = "kafka"
- + revision = (known after apply)
- + series = (known after apply)
- }
- }
- # juju_application.tls will be created
- + resource "juju_application" "tls" {
- + config = {
- + "ca-common-name" = "Kafka"
- }
- + constraints = (known after apply)
- + id = (known after apply)
- + model = "test-terraform-y13p"
- + name = (known after apply)
- + placement = (known after apply)
- + principal = (known after apply)
- + trust = false
- + units = 1
- + charm {
- + base = "ubuntu@22.04"
- + channel = "edge"
- + name = "self-signed-certificates"
- + revision = (known after apply)
- + series = (known after apply)
- }
- }
- # juju_application.zookeeper will be created
- + resource "juju_application" "zookeeper" {
- + config = {}
- + constraints = (known after apply)
- + id = (known after apply)
- + model = "test-terraform-y13p"
- + name = (known after apply)
- + placement = (known after apply)
- + principal = (known after apply)
- + trust = false
- + units = 3
- + charm {
- + base = "ubuntu@22.04"
- + channel = "3/edge"
- + name = "zookeeper"
- + revision = (known after apply)
- + series = (known after apply)
- }
- }
- # juju_integration.integrator_kafka will be created
- + resource "juju_integration" "integrator_kafka" {
- + id = (known after apply)
- + model = "test-terraform-y13p"
- + application {
- + endpoint = (known after apply)
- + name = (known after apply)
- }
- + application {
- + endpoint = (known after apply)
- + name = (known after apply)
- }
- }
- # juju_integration.kafka_tls will be created
- + resource "juju_integration" "kafka_tls" {
- + id = (known after apply)
- + model = "test-terraform-y13p"
- + application {
- + endpoint = "certificates"
- + name = (known after apply)
- }
- + application {
- + endpoint = (known after apply)
- + name = (known after apply)
- }
- }
- # juju_integration.kafka_zookeeper will be created
- + resource "juju_integration" "kafka_zookeeper" {
- + id = (known after apply)
- + model = "test-terraform-y13p"
- + application {
- + endpoint = (known after apply)
- + name = (known after apply)
- }
- + application {
- + endpoint = (known after apply)
- + name = (known after apply)
- }
- }
- # juju_integration.zookeeper_tls will be created
- + resource "juju_integration" "zookeeper_tls" {
- + id = (known after apply)
- + model = "test-terraform-y13p"
- + application {
- + endpoint = (known after apply)
- + name = (known after apply)
- }
- + application {
- + endpoint = (known after apply)
- + name = (known after apply)
- }
- }
- # juju_machine.kafka[0] will be created
- + resource "juju_machine" "kafka" {
- + base = "ubuntu@22.04"
- + constraints = "cores=2 mem=2G root-disk=1G"
- + id = (known after apply)
- + machine_id = (known after apply)
- + model = "test-terraform-y13p"
- + name = "kafka-0"
- + series = (known after apply)
- }
- # juju_machine.zookeeper[0] will be created
- + resource "juju_machine" "zookeeper" {
- + base = "ubuntu@22.04"
- + constraints = "cores=2 mem=2G root-disk=1G"
- + id = (known after apply)
- + machine_id = (known after apply)
- + model = "test-terraform-y13p"
- + name = "zookeeper-0"
- + series = (known after apply)
- }
- # juju_machine.zookeeper[1] will be created
- + resource "juju_machine" "zookeeper" {
- + base = "ubuntu@22.04"
- + constraints = "cores=2 mem=2G root-disk=1G"
- + id = (known after apply)
- + machine_id = (known after apply)
- + model = "test-terraform-y13p"
- + name = "zookeeper-1"
- + series = (known after apply)
- }
- # juju_machine.zookeeper[2] will be created
- + resource "juju_machine" "zookeeper" {
- + base = "ubuntu@22.04"
- + constraints = "cores=2 mem=2G root-disk=1G"
- + id = (known after apply)
- + machine_id = (known after apply)
- + model = "test-terraform-y13p"
- + name = "zookeeper-2"
- + series = (known after apply)
- }
- # juju_model.kafka will be updated in-place
- ~ resource "juju_model" "kafka" {
- + config = {
- + "logging-config" = "<root>=DEBUG"
- + "update-status-hook-interval" = "2m"
- }
- id = "0ec0bb48-4cba-4635-8a0b-b1b1abf68439"
- name = "test-terraform-y13p"
- # (2 unchanged attributes hidden)
- # (1 unchanged block hidden)
- }
- Plan: 12 to add, 1 to change, 0 to destroy.
- juju_model.kafka: Modifying... [id=0ec0bb48-4cba-4635-8a0b-b1b1abf68439]
- juju_model.kafka: Modifications complete after 1s [id=0ec0bb48-4cba-4635-8a0b-b1b1abf68439]
- juju_machine.zookeeper[1]: Creating...
- juju_machine.kafka[0]: Creating...
- juju_machine.zookeeper[0]: Creating...
- juju_machine.zookeeper[2]: Creating...
- juju_application.tls: Creating...
- juju_application.integrator: Creating...
- juju_machine.zookeeper[1]: Creation complete after 0s [id=test-terraform-y13p:1:zookeeper-1]
- juju_machine.zookeeper[0]: Creation complete after 0s [id=test-terraform-y13p:3:zookeeper-0]
- juju_machine.kafka[0]: Creation complete after 0s [id=test-terraform-y13p:0:kafka-0]
- juju_machine.zookeeper[2]: Creation complete after 0s [id=test-terraform-y13p:2:zookeeper-2]
- juju_application.kafka: Creating...
- juju_application.zookeeper: Creating...
- juju_application.tls: Creation complete after 1s [id=test-terraform-y13p:self-signed-certificates]
- juju_application.integrator: Creation complete after 1s [id=test-terraform-y13p:data-integrator]
- INFO test_terraform:test_terraform.py:62
- Initializing the backend...
- Initializing provider plugins...
- - Finding juju/juju versions matching "~> 0.10.0"...
- - Installing juju/juju v0.10.1...
- - Installed juju/juju v0.10.1 (self-signed, key ID B836F54C10C569E2)
- Partner and community providers are signed by their developers.
- If you'd like to know more about provider signing, you can read about it here:
- https://www.terraform.io/docs/cli/plugins/signing.html
- Terraform has created a lock file .terraform.lock.hcl to record the provider
- selections it made above. Include this file in your version control repository
- so that Terraform can guarantee to make the same selections by default when
- you run "terraform init" in the future.
- Terraform has been successfully initialized!
- You may now begin working with Terraform. Try running "terraform plan" to see
- any changes that are required for your infrastructure. All Terraform commands
- should now work.
- If you ever set or change modules or backend configuration for Terraform,
- rerun this command to reinitialize your working directory. If you forget, other
- commands will detect it and remind you to do so if necessary.
- juju_model.kafka: Importing from ID "test-terraform-y13p"...
- juju_model.kafka: Import prepared!
- Prepared juju_model for import
- juju_model.kafka: Refreshing state... [id=test-terraform-y13p]
- Import successful!
- The resources that were imported are shown above. These resources are now in
- your Terraform state and will henceforth be managed by Terraform.
- juju_model.kafka: Refreshing state... [id=0ec0bb48-4cba-4635-8a0b-b1b1abf68439]
- Terraform used the selected providers to generate the following execution
- plan. Resource actions are indicated with the following symbols:
- + create
- ~ update in-place
- Terraform will perform the following actions:
- # juju_application.integrator will be created
- + resource "juju_application" "integrator" {
- + config = {
- + "extra-user-roles" = "admin"
- + "topic-name" = "default"
- }
- + constraints = (known after apply)
- + id = (known after apply)
- + model = "test-terraform-y13p"
- + name = (known after apply)
- + placement = (known after apply)
- + principal = (known after apply)
- + trust = false
- + units = 1
- + charm {
- + base = "ubuntu@22.04"
- + channel = "edge"
- + name = "data-integrator"
- + revision = (known after apply)
- + series = (known after apply)
- }
- }
- # juju_application.kafka will be created
- + resource "juju_application" "kafka" {
- + config = {}
- + constraints = (known after apply)
- + id = (known after apply)
- + model = "test-terraform-y13p"
- + name = (known after apply)
- + placement = (known after apply)
- + principal = (known after apply)
- + trust = false
- + units = 1
- + charm {
- + base = "ubuntu@22.04"
- + channel = "3/edge"
- + name = "kafka"
- + revision = (known after apply)
- + series = (known after apply)
- }
- }
- # juju_application.tls will be created
- + resource "juju_application" "tls" {
- + config = {
- + "ca-common-name" = "Kafka"
- }
- + constraints = (known after apply)
- + id = (known after apply)
- + model = "test-terraform-y13p"
- + name = (known after apply)
- + placement = (known after apply)
- + principal = (known after apply)
- + trust = false
- + units = 1
- + charm {
- + base = "ubuntu@22.04"
- + channel = "edge"
- + name = "self-signed-certificates"
- + revision = (known after apply)
- + series = (known after apply)
- }
- }
- # juju_application.zookeeper will be created
- + resource "juju_application" "zookeeper" {
- + config = {}
- + constraints = (known after apply)
- + id = (known after apply)
- + model = "test-terraform-y13p"
- + name = (known after apply)
- + placement = (known after apply)
- + principal = (known after apply)
- + trust = false
- + units = 3
- + charm {
- + base = "ubuntu@22.04"
- + channel = "3/edge"
- + name = "zookeeper"
- + revision = (known after apply)
- + series = (known after apply)
- }
- }
- # juju_integration.integrator_kafka will be created
- + resource "juju_integration" "integrator_kafka" {
- + id = (known after apply)
- + model = "test-terraform-y13p"
- + application {
- + endpoint = (known after apply)
- + name = (known after apply)
- }
- + application {
- + endpoint = (known after apply)
- + name = (known after apply)
- }
- }
- # juju_integration.kafka_tls will be created
- + resource "juju_integration" "kafka_tls" {
- + id = (known after apply)
- + model = "test-terraform-y13p"
- + application {
- + endpoint = "certificates"
- + name = (known after apply)
- }
- + application {
- + endpoint = (known after apply)
- + name = (known after apply)
- }
- }
- # juju_integration.kafka_zookeeper will be created
- + resource "juju_integration" "kafka_zookeeper" {
- + id = (known after apply)
- + model = "test-terraform-y13p"
- + application {
- + endpoint = (known after apply)
- + name = (known after apply)
- }
- + application {
- + endpoint = (known after apply)
- + name = (known after apply)
- }
- }
- # juju_integration.zookeeper_tls will be created
- + resource "juju_integration" "zookeeper_tls" {
- + id = (known after apply)
- + model = "test-terraform-y13p"
- + application {
- + endpoint = (known after apply)
- + name = (known after apply)
- }
- + application {
- + endpoint = (known after apply)
- + name = (known after apply)
- }
- }
- # juju_machine.kafka[0] will be created
- + resource "juju_machine" "kafka" {
- + base = "ubuntu@22.04"
- + constraints = "cores=2 mem=2G root-disk=1G"
- + id = (known after apply)
- + machine_id = (known after apply)
- + model = "test-terraform-y13p"
- + name = "kafka-0"
- + series = (known after apply)
- }
- # juju_machine.zookeeper[0] will be created
- + resource "juju_machine" "zookeeper" {
- + base = "ubuntu@22.04"
- + constraints = "cores=2 mem=2G root-disk=1G"
- + id = (known after apply)
- + machine_id = (known after apply)
- + model = "test-terraform-y13p"
- + name = "zookeeper-0"
- + series = (known after apply)
- }
- # juju_machine.zookeeper[1] will be created
- + resource "juju_machine" "zookeeper" {
- + base = "ubuntu@22.04"
- + constraints = "cores=2 mem=2G root-disk=1G"
- + id = (known after apply)
- + machine_id = (known after apply)
- + model = "test-terraform-y13p"
- + name = "zookeeper-1"
- + series = (known after apply)
- }
- # juju_machine.zookeeper[2] will be created
- + resource "juju_machine" "zookeeper" {
- + base = "ubuntu@22.04"
- + constraints = "cores=2 mem=2G root-disk=1G"
- + id = (known after apply)
- + machine_id = (known after apply)
- + model = "test-terraform-y13p"
- + name = "zookeeper-2"
- + series = (known after apply)
- }
- # juju_model.kafka will be updated in-place
- ~ resource "juju_model" "kafka" {
- + config = {
- + "logging-config" = "<root>=DEBUG"
- + "update-status-hook-interval" = "2m"
- }
- id = "0ec0bb48-4cba-4635-8a0b-b1b1abf68439"
- name = "test-terraform-y13p"
- # (2 unchanged attributes hidden)
- # (1 unchanged block hidden)
- }
- Plan: 12 to add, 1 to change, 0 to destroy.
- juju_model.kafka: Modifying... [id=0ec0bb48-4cba-4635-8a0b-b1b1abf68439]
- juju_model.kafka: Modifications complete after 1s [id=0ec0bb48-4cba-4635-8a0b-b1b1abf68439]
- juju_machine.zookeeper[1]: Creating...
- juju_machine.kafka[0]: Creating...
- juju_machine.zookeeper[0]: Creating...
- juju_machine.zookeeper[2]: Creating...
- juju_application.tls: Creating...
- juju_application.integrator: Creating...
- juju_machine.zookeeper[1]: Creation complete after 0s [id=test-terraform-y13p:1:zookeeper-1]
- juju_machine.zookeeper[0]: Creation complete after 0s [id=test-terraform-y13p:3:zookeeper-0]
- juju_machine.kafka[0]: Creation complete after 0s [id=test-terraform-y13p:0:kafka-0]
- juju_machine.zookeeper[2]: Creation complete after 0s [id=test-terraform-y13p:2:zookeeper-2]
- juju_application.kafka: Creating...
- juju_application.zookeeper: Creating...
- juju_application.tls: Creation complete after 1s [id=test-terraform-y13p:self-signed-certificates]
- juju_application.integrator: Creation complete after 1s [id=test-terraform-y13p:data-integrator]
- INFO test_terraform:test_terraform.py:63 ╷
- │ Error: Provider produced inconsistent result after apply
- │
- │ When applying changes to juju_application.zookeeper, provider
- │ "provider[\"registry.terraform.io/juju/juju\"]" produced an unexpected new
- │ value: .placement: was cty.StringVal("3,1,2"), but now cty.StringVal("").
- │
- │ This is a bug in the provider, which should be reported in the provider's
- │ own issue tracker.
- ╵
- ╷
- │ Error: Provider produced inconsistent result after apply
- │
- │ When applying changes to juju_application.kafka, provider
- │ "provider[\"registry.terraform.io/juju/juju\"]" produced an unexpected new
- │ value: .placement: was cty.StringVal("0"), but now cty.StringVal("").
- │
- │ This is a bug in the provider, which should be reported in the provider's
- │ own issue tracker.
- ╵
- FAILED
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement