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

GitHub Terraform options behind API and UI #184

Open
mati007thm opened this issue Dec 16, 2024 · 0 comments
Open

GitHub Terraform options behind API and UI #184

mati007thm opened this issue Dec 16, 2024 · 0 comments
Assignees

Comments

@mati007thm
Copy link
Contributor

What is not working as you expected it?
The TF-provider GitHub-Integration supports the following:

type integrationGithubResourceModel struct { // size=224 (0xe0)
    // scope
    SpaceID types.String `tfsdk:"space_id"`

    // integration details
    Mrn  types.String `tfsdk:"mrn"`
    Name types.String `tfsdk:"name"`

    Owner      types.String `tfsdk:"owner"`
    Repository types.String `tfsdk:"repository"`

    RepositoryAllowList types.List `tfsdk:"repository_allow_list"`
    RepositoryDenyList  types.List `tfsdk:"repository_deny_list"`

    // credentials
    Credential *integrationGithubCredentialModel `tfsdk:"credentials"`
} 

But I am expecting it to have the following options as well, which are already implemented in the UI:

// Discover Terraform files in the repositories. (Optional.)
DiscoverTerraform *Boolean `json:"discoverTerraform,omitempty"`
// Discover k8s manifests in the repositories. (Optional.)
DiscoverK8sManifests *Boolean `json:"discoverK8sManifests,omitempty"`
// Github Enterprise Server URL. (Optional.)
EnterpriseURL *String `json:"enterpriseUrl,omitempty"`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants