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

Config-driven importing through identity (TF-23179) #36703

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

dbanck
Copy link
Member

@dbanck dbanck commented Mar 14, 2025

This PR adds support for importing resources via their identity

Target Release

1.12.x

CHANGELOG entry

I'm planning to add changelog entries for the whole feature in a separate PR

if importTarget.Type().IsObjectType() {
h.println(fmt.Sprintf(
h.view.colorize.Color("[reset][bold]%s: Preparing import... [identity=%s]"),
id.Addr, importTarget.GoString(), // TODO improve
Copy link
Member Author

Choose a reason for hiding this comment

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

Has Terraform a helper method somewhere to nicely display a cty.Object?

@dbanck dbanck force-pushed the dbanck/import-via-identity branch from 92ffcdd to 1dbb40e Compare March 20, 2025 19:43
@dbanck dbanck marked this pull request as ready for review March 20, 2025 19:44
@dbanck dbanck requested a review from a team as a code owner March 20, 2025 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement no-changelog-needed Add this to your PR if the change does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant