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

Add outputs (attributes) to the akp_instance resource #146

Open
morey-tech opened this issue Oct 11, 2023 · 0 comments
Open

Add outputs (attributes) to the akp_instance resource #146

morey-tech opened this issue Oct 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@morey-tech
Copy link
Contributor

Add outputs (attributes) to the akp_instance resource (example on a resource from another provider). This is most useful for the server URL used when connecting with the argocd CLI. This is useful when creating Terraform module outputs that indicate how to connect to the instance that was just created.

The current workaround is to build the URL from the subdomain.

  server_addr = "${akp_instance.argocd.argocd.spec.instance_spec.subdomain}.cd.akuity.cloud:443"

This would be improved if the resource had an attribute of server_url:

  server_addr = "${akp_instance.server_url}"
@morey-tech morey-tech added the enhancement New feature or request label Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant