integrations / integrations/terraform-provider-github

[BUG]: resource "actions_repository_access_level" fails if repository is removed

Open
#3,379 1 comment 0 reactions 0 assignees View on GitHub
r/actions_repository_access_level Status: Triage Type: Bug
Dominant language
Go
Stars
1.2k
Forks
1k
Avg merge
1d 14h
Merged PRs (30d)
8

Description

### Expected Behavior

The resource is removed from state and is recreated.

### Actual Behavior

An error is thrown:

```
Error: GET https://api.github.com/repos/[REDACTED]/actions/permissions/access: 404 Not Found []
```

### Terraform Version

1.10.5

### Affected Resource(s)

- github_actions_repository_access_level

### Terraform Configuration Files

```hcl

```

### Steps to Reproduce

_No response_

### Debug Output

```shell

```

### Panic Output

```shell

```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.