Schema Registry Location
Schema Format
Each resource type is aResourceSchema struct:
Adding a New Resource
- Find the resource in the Pulumi AWS Registry
- Add a new entry to the appropriate schema file:
- Add the resource type to the codegen registry:
-
Write a test in
internal/compiler/schema/aws_test.go -
Run
go test ./...
Updating via Schema Sync
For bulk updates, theubx schema sync command fetches schemas directly from Pulumi’s JSON schema endpoint and updates the registry automatically:
