terraform-provider-github icon indicating copy to clipboard operation
terraform-provider-github copied to clipboard

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

Open nnellanspdl opened this issue 2 years ago • 1 comments

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)

  • github_actions_organization_secret_repositories

Terraform Configuration Files

No response

Steps to Reproduce

No response

Debug Output

No response

Panic Output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

nnellanspdl avatar Dec 19 '23 23:12 nnellanspdl

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

uthark avatar Jun 27 '24 03:06 uthark

👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!

github-actions[bot] avatar Mar 25 '25 02:03 github-actions[bot]