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

terraform resources have too less data #575

Open
shundezhang opened this issue Sep 12, 2024 · 0 comments
Open

terraform resources have too less data #575

shundezhang opened this issue Sep 12, 2024 · 0 comments
Labels
kind/feature suggests new feature or enhancement

Comments

@shundezhang
Copy link

Description

It would be good to include more detailed data in resources.
For example, an application has the following:

$ terraform state show juju_application.kubernetes_worker
# juju_application.kubernetes_worker:
resource "juju_application" "kubernetes_worker" {
    config      = {
        "kubelet-extra-config" = jsonencode({})
    }
    constraints = "arch=amd64"
    id          = "k8s-calico:kubernetes-worker"
    model       = "k8s-calico"
    name        = "kubernetes-worker"
    placement   = "1,2"
    trust       = false
    units       = 2

    charm {
        base     = "[email protected]"
        channel  = "1.28/stable"
        name     = "kubernetes-worker"
        revision = 134
        series   = "focal"
    }
}

juju status command has more outputs including IP address and details of each unit.
Without those information it is unable to do other configuration based on what is created.

Urgency

Annoying bug in our test suite

Terraform Juju Provider version

0.13.0

Terraform version

1.9.5

Juju version

3.5.2

Terraform Configuration(s)

No response

Reproduce / Test

terraform apply

Debug/Panic Output

No response

Notes & References

No response

@Aflynn50 Aflynn50 added the kind/feature suggests new feature or enhancement label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature suggests new feature or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants