Skip to content

Page schema: entity is not a valid value for type attribute in page resource. #245

Open
@danigrb

Description

@danigrb

Hi, when trying to import and manage entity pages (the ones which detail the entity, for example this page) using this provider we can successfully import the resource, but subsequent plans fail validation because entity is not a valid type.

 Error: Invalid Attribute Value Match
│ 
│   with port_page._userEntity,
│   on port_page__userEntity.tf line 7, in resource "port_page" "_userEntity":
│    7:   type        = "entity"
│ 
│ Attribute type value must be one of: ["blueprint-entities" "dashboard" "home"], got: "entity"

My understanding is that this validator:

stringvalidator.OneOf(
"blueprint-entities",
"dashboard",
"home",

Should also include entity value, as it is a valid value for type in page.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions