Skip to content

Conversation

@shawnps
Copy link
Collaborator

@shawnps shawnps commented May 18, 2023

No description provided.

},
"rate_limit": {
Type: schema.TypeMap,
Type: schema.TypeSet,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes:

│ 1 error occurred:
│   * resource sigsci_site_rule: rate_limit: TypeMap with Elem *Resource not supported,use TypeList/TypeSet with Elem *Resource or
│ TypeMap with Elem *Schema

"duration": {
Type: schema.TypeInt,
Description: "duration in seconds (300 < x < 3600)",
Default: 600,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes:

│ 1 error occurred:
│   * resource sigsci_site_rule: duration: Default cannot be set with Required

Type: schema.TypeList, // use TypeList to workaround SDK TypeMap limitation with only string value support: https://github.com/hashicorp/terraform-plugin-sdk/issues/62
Description: "The sites primary Agent key",
Computed: true,
MaxItems: 1,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes:

│ 1 error occurred:
│   * resource sigsci_corp_cloudwaf_instance: deployment: MaxItems is for configurable attributes,there's nothing to
│ configure on computed-only field

},
"primary_agent_key": {
Type: schema.TypeMap,
Type: schema.TypeSet,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes:

│ 1 error occurred:
│   * resource sigsci_site: primary_agent_key: TypeMap with Elem *Resource not supported,use TypeList/TypeSet with Elem *Resource or
│ TypeMap with Elem *Schema

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

Successfully merging this pull request may close these issues.

2 participants