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

output of plan is not human-readable #201

Open
rblumen-desk opened this issue Apr 9, 2020 · 2 comments
Open

output of plan is not human-readable #201

rblumen-desk opened this issue Apr 9, 2020 · 2 comments

Comments

@rblumen-desk
Copy link

rblumen-desk commented Apr 9, 2020

Hi there,

Terraform Version

v0.12.24

Affected Resource(s)

Please list the resources as a list, for example:

  • pagerduty_team_membership
  • pagerduty_schedule

Feature request

The terraform plan output currently shows the internal pagerduty IDs for users
e.g.

  + resource "pagerduty_team_membership" "membership" {
      + id      = (known after apply)
      + team_id = "PxxxxxB"
      + user_id = "PxxxxxY"
    }

  ~ resource "pagerduty_schedule" "tier_1_on_call" {
[...]
      ~ layer {
     
           users                        = [
[...]
                "P.....K",
                "P.....D",
            ]
        }
    }

The purpose of the plan is to determine whether or not to apply. It would be helpful if the plan used the human-readable names for objects rather than the internal ids.

@stmcallister
Copy link
Contributor

hi @rblumen-desk! Thanks for the feedback! Have you seen this kind of behavior in other providers, where the plan shows information that is not going to be passed back to the API?

@rblumen-desk
Copy link
Author

@stmcallister other providers that I have used show both internal machine-readable keys and human-readable information. In the terraform development cycle, the purpose of the plan phase is so that a developer can determine whether to run apply to make the changes permanent so a human readable output makes that more straightforward.

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

No branches or pull requests

2 participants