Skip to content

Conversation

rjkip
Copy link
Contributor

@rjkip rjkip commented Jun 17, 2025

(Thank you for providing this provider ❤️)

Took going to the source code to figure out the import ID for my environment variable should be colon-separated team_id:site_id:key not comma-separated team_id,site_id,key 😭

$ terraform import -var-file=.stg.tfvars -var-file=.stg.secrets.tfvars netlify_environment_variable.consultants redacted,redacted,REDACTED

data.netlify_team.team: Reading...
data.netlify_site.site: Reading...
data.netlify_site.site: Read complete after 0s [id=redacted]
netlify_environment_variable.consultants: Importing from ID "redacted,redacted,REDACTED"...
data.netlify_team.team: Read complete after 0s [id=redacted]

│ Error: Unexpected Import Identifier

│ Expected import identifier with one of these formats: team_id,key or team_id,site_id,key. Got:
│ "redacted,redacted,REDACTED"

@rjkip rjkip requested a review from a team as a code owner June 17, 2025 04:07
@sarahetter sarahetter merged commit cff34a4 into netlify:main Aug 5, 2025
2 of 3 checks passed
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.

2 participants