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

[data-source][rhoas-kafkas] Fix example #27

Merged

Conversation

juandspy
Copy link
Collaborator

@juandspy juandspy commented Sep 28, 2022

Summary

Fixing #28.

Testing steps

make install
cd examples/data-sources/rhoas_kafkas
terraform init
terraform plan

Output

Changes to Outputs:
  + all_kafkas = {
      + id     = "1664374818"
      + kafkas = [
          + {
              + bootstrap_server_host = "XXXXXXXXXXX"
              + cloud_provider        = "aws"
              + created_at            = "XXXXX"
              + failed_reason         = ""
              + href                  = "/api/kafkas_mgmt/v1/kafkas/XXXXXXXXXXX"
              + id                    = "XXXXXXXXXXXXXXXX"
              + kind                  = "Kafka"
              + multi_az              = false
              + name                  = "test"
              + owner                 = "jdiazsua@redhat.com"
              + region                = "eu-west-1"
              + status                = "ready"
              + updated_at            = "XXXXX"
              + version               = "3.2.1"
            },
          ...
        ]
    }

You can apply this plan to save these new output values to the Terraform state, without changing any
real infrastructure.

@juandspy juandspy marked this pull request as ready for review September 28, 2022 14:23
Copy link
Contributor

@jackdelahunt jackdelahunt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jackdelahunt jackdelahunt merged commit dfdd04e into redhat-developer:main Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants