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]: project in equinix_fabric_service_profile and equinix_fabric_connection cannot be defined #464

Open
ocobles opened this issue Nov 16, 2023 · 0 comments
Labels
area/resources/fabric Issues related to Fabric and ECX APIs bug Something isn't working

Comments

@ocobles
Copy link
Contributor

ocobles commented Nov 16, 2023

Terraform Version

1.6.3

Equinix Provider Version

1.19.0

Effected Terraform Resources

equinix_fabric_service_profile
equinix_fabric_connection

Terraform Config Files

No response

Debug Output

No response

Panic Output

No response

Expected Behavior

well-defined schema, whether it is read-only or can be included in the request

Actual Behavior

It seems project is a read-only field even if it is set as optional, but all fields in the nested schema are computed. Checking fabric specs project_id could be specified in the request.

func createGatewayProjectSch() map[string]*schema.Schema {
return map[string]*schema.Schema{
"project_id": {
Type: schema.TypeString,
Computed: true,
Description: "Project Id",
},
"href": {
Type: schema.TypeString,
Computed: true,
Description: "Unique Resource URL",
},
}
}

Steps to Reproduce

N/A

@ocobles ocobles added the bug Something isn't working label Nov 16, 2023
@displague displague added the area/resources/fabric Issues related to Fabric and ECX APIs label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/resources/fabric Issues related to Fabric and ECX APIs bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants