-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Prerequisites
- Have you tested the operation in the API directly?
- Do you have the latest Terraform provider version?
- Review the compatibility matrix before opening an issue.
Describe the bug
The "catalystcenter_global_credential" v2 incorrectly mandates ID for credentials creation. It should require only for deletion.
bash-4.4$ terraform plan
╷
│ Error: Missing required argument
│
│ on main.tf line 29, in resource "catalystcenter_global_credential" "credentials_v2":
│ 29: parameters {
│
│ The argument "id" is required, but no definition was found.
╵
bash-4.4$
Expected behavior
Credential ID should only be required for credentials deletion. It should not be required for creation.
Screenshots
Please provide an screenshot of the successful API call with cuRL, Postman, etc.
Environment (please complete the following information):
- Cisco Catalyst Center version and patch: 2.3.7.9-75335
- Terraform version: v1.12.2 (latest)
- Cisco Catalyst Center provider version: 1.2.0-beta (latest)
- OS Version: RHEL 8.8 (Ootpa)
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
No labels