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

[BUG]: Not able to Import github_actions_environment_secret #2461

Open
1 task done
whgiles opened this issue Nov 13, 2024 · 1 comment · May be fixed by #2462
Open
1 task done

[BUG]: Not able to Import github_actions_environment_secret #2461

whgiles opened this issue Nov 13, 2024 · 1 comment · May be fixed by #2462
Labels
Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented

Comments

@whgiles
Copy link

whgiles commented Nov 13, 2024

Expected Behavior

I should be able to run:

Terraform import '<module>.github_actions_environment_secret.<name> <repository>/<environment>/<secret_name>'

or use and import block

import {
    to = <module>.github_actions_environment_secret.<name> <repository>/<environment>/<secret_name>
    id = "<repository>/<environment>/<secret_name>"
}

Actual Behavior

After I run an import command

Error: Configuration for import target does not exist

The configuration for the given import <module>.github_actions_environment_secret.<name> <repository>/<environment>/<secret_name> does not exist. All target instances must have an associated configuration to be imported.

Terraform Version

Terraform v1.9.8
on darwin_arm64

  • provide registry.terraform.io/hashicorp/github v6.3.1

Affected Resource(s)

github_actions_environment_secret

Terraform Configuration Files

No response

Steps to Reproduce

Terraform import '<module>.github_actions_environment_secret.<name> <repository>/<environment>/<secret_name>'

Debug Output

No response

Panic Output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@whgiles whgiles added Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented labels Nov 13, 2024
@whgiles
Copy link
Author

whgiles commented Nov 13, 2024

This issue is related to issue #1124
Also a similar fix was mode in PR #1763.

@whgiles whgiles linked a pull request Nov 13, 2024 that will close this issue
4 tasks
@nickfloyd nickfloyd moved this from 🆕 Triage to 🔥 Backlog in 🧰 Octokit Active Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant