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

handlers.list: Additional property handlerSchema is not allowed errors #51

Closed
ewbankkit opened this issue Apr 13, 2023 · 3 comments · Fixed by #52
Closed

handlers.list: Additional property handlerSchema is not allowed errors #51

ewbankkit opened this issue Apr 13, 2023 · 3 comments · Fixed by #52

Comments

@ewbankkit
Copy link
Contributor

ewbankkit commented Apr 13, 2023

When loading recent CloudFormation resources schemas, we have being seeing a new error:

error loading CloudFormation Resource Provider Schema for aws_networkmanager_transit_gateway_registration: validating /var/folders/lx/48ng4y950gv10_x6x1jwk05w0000gq/T/966188975/AWS_NetworkManager_TransitGatewayRegistration.json: Validation Errors: 1 error occurred:
	* handlers.list: Additional property handlerSchema is not allowed
{
  "typeName": "AWS::NetworkManager::TransitGatewayRegistration",
  "description": "The AWS::NetworkManager::TransitGatewayRegistration type registers a transit gateway in your global network. The transit gateway can be in any AWS Region, but it must be owned by the same AWS account that owns the global network. You cannot register a transit gateway in more than one global network.",
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager.git",
  "properties": {
    "GlobalNetworkId": {
      "description": "The ID of the global network.",
      "type": "string"
    },
    "TransitGatewayArn": {
      "description": "The Amazon Resource Name (ARN) of the transit gateway.",
      "type": "string"
    }
  },
  "taggable": false,
  "additionalProperties": false,
  "required": [
    "GlobalNetworkId",
    "TransitGatewayArn"
  ],
  "createOnlyProperties": [
    "/properties/GlobalNetworkId",
    "/properties/TransitGatewayArn"
  ],
  "primaryIdentifier": [
    "/properties/GlobalNetworkId",
    "/properties/TransitGatewayArn"
  ],
  "handlers": {
    "create": {
      "permissions": [
        "networkmanager:RegisterTransitGateway"
      ],
      "timeoutInMinutes": 30
    },
    "read": {
      "permissions": [
        "networkmanager:GetTransitGatewayRegistrations"
      ]
    },
    "list": {
      "handlerSchema": {
        "properties": {
          "GlobalNetworkId": {
            "$ref": "resource-schema.json#/properties/GlobalNetworkId"
          }
        },
        "required": ["GlobalNetworkId"]
      },
      "permissions": [
        "networkmanager:GetTransitGatewayRegistrations"
      ]
    },
    "delete": {
      "permissions": [
        "networkmanager:DeregisterTransitGateway"
      ],
      "timeoutInMinutes": 30
    }
  }
}
@ewbankkit
Copy link
Contributor Author

So far, these resource schemas are affected:

  • AWS::NetworkManager::TransitGatewayRegistration
  • AWS::NimbleStudio::LaunchProfile
  • AWS::NimbleStudio::StreamingImage
  • AWS::NimbleStudio::StudioComponent

@ewbankkit
Copy link
Contributor Author

@ewbankkit
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant