integrations / terraform-provider-github

Terraform GitHub provider
https://www.terraform.io/docs/providers/github/
MIT License
888 stars 729 forks source link

[BUG]: Import for `github_actions_organization_secret_repositories` resource not populating the `secret_name` value #2067

Open nnellanspdl opened 9 months ago

nnellanspdl commented 9 months ago

Expected Behavior

Import the resource, do a plan, and have no changes.

Actual Behavior

I import the resource, and do a plan, but now it wants to modify the resource by adding the secret_name value to it. Even worse, is that this change forces replacement of the resource.

This value should have been set during import.

Terraform Version

Terraform v1.5.7 Provider integrations/github v5.42.0

Affected Resource(s)

Terraform Configuration Files

No response

Steps to Reproduce

No response

Debug Output

No response

Panic Output

No response

Code of Conduct

uthark commented 2 months ago

@nickfloyd please have a look at https://github.com/integrations/terraform-provider-github/pull/2301