Closed richjyoung closed 7 months ago
@richjyoung this should be targeted at the v6
branch instead of main
, right?
Sorry yes, have updated. It does look like the behaviour is unchanged from 5.45.0 though. This PR is the change I had to make to get the import to work properly in my local state so I can't say why this now causes the linked issue.
Fixes bug where it is not possible to run
terraform import
againstgithub_team_members
resources in v6.0.0-beta.Resolves #2124
Before the change?
github_team_members
import reused the schema.ResourceImporter definition inresourceGithubTeamImport
, which also defaultscreate_default_maintainer
to false.create_default_maintainer
is not part of thegithub_team_members
schema so this fails the command with an error.After the change?
github_team_members
asresourceGithubTeamMembersImport
, with the samegetTeamID...
based mapping.Pull request checklist
Does this introduce a breaking change?
Please see our docs on breaking changes to help!