@intentius/chant-lexicon-aws 0.124.98 → 0.124.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/dynamodb.d.ts +0 -1
- package/dist/actions/ecr.d.ts +0 -1
- package/dist/actions/ecs.d.ts +0 -1
- package/dist/actions/iam.d.ts +0 -1
- package/dist/actions/index.d.ts +0 -1
- package/dist/actions/lambda.d.ts +0 -1
- package/dist/actions/logs.d.ts +0 -1
- package/dist/actions/s3.d.ts +0 -1
- package/dist/actions/sns.d.ts +0 -1
- package/dist/actions/sqs.d.ts +0 -1
- package/dist/agentcore/trace-fetch.d.ts +0 -1
- package/dist/agentcore/trace-render.d.ts +0 -1
- package/dist/ambient.d.ts +0 -1
- package/dist/api/credential-chain.d.ts +0 -1
- package/dist/api/read-client.d.ts +0 -1
- package/dist/api/signing.d.ts +0 -1
- package/dist/behaviour-kinds.d.ts +0 -1
- package/dist/caller-identity.d.ts +0 -1
- package/dist/capabilities/mapping.json +148 -148
- package/dist/capabilities/pack.d.ts +0 -1
- package/dist/codegen/docs-cli.d.ts +0 -1
- package/dist/codegen/docs.d.ts +0 -1
- package/dist/codegen/enum-overlay.d.ts +0 -1
- package/dist/codegen/enum-overlay.json +1841 -1841
- package/dist/codegen/extensions.d.ts +0 -1
- package/dist/codegen/fallback.d.ts +0 -1
- package/dist/codegen/generate-cli.d.ts +0 -1
- package/dist/codegen/generate-lexicon.d.ts +0 -1
- package/dist/codegen/generate-typescript.d.ts +0 -1
- package/dist/codegen/generate.d.ts +0 -1
- package/dist/codegen/naming.d.ts +0 -1
- package/dist/codegen/package.d.ts +0 -1
- package/dist/codegen/patches.d.ts +0 -1
- package/dist/codegen/property-overlay.d.ts +0 -1
- package/dist/codegen/property-overlay.json +2 -2
- package/dist/codegen/sam.d.ts +0 -1
- package/dist/codegen/typecheck.d.ts +0 -1
- package/dist/codegen/versions.d.ts +0 -1
- package/dist/components/__tests__/mock-cloud-executor.d.ts +0 -1
- package/dist/components/apply.d.ts +0 -1
- package/dist/components/builders.d.ts +0 -1
- package/dist/components/capability-plugin.d.ts +0 -1
- package/dist/components/cfn-adopt-run.d.ts +0 -1
- package/dist/components/cfn-adopt.d.ts +0 -1
- package/dist/components/cfn-imports.d.ts +0 -1
- package/dist/components/cloud-executor.d.ts +0 -1
- package/dist/components/config-bom.d.ts +0 -1
- package/dist/components/host-delivery.d.ts +0 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/job-submission.d.ts +0 -1
- package/dist/components/publish.d.ts +0 -1
- package/dist/components/safety.d.ts +0 -1
- package/dist/components/wait-aws.d.ts +0 -1
- package/dist/composites/agentcore-agent.d.ts +0 -1
- package/dist/composites/agentcore-trust-policy.d.ts +0 -1
- package/dist/composites/alb-shared.d.ts +0 -1
- package/dist/composites/bucket-deployment.d.ts +0 -1
- package/dist/composites/catalog.d.ts +0 -1
- package/dist/composites/dynamodb-table.d.ts +0 -1
- package/dist/composites/ec2-instance-bundle.d.ts +0 -1
- package/dist/composites/ec2-instance-role.d.ts +0 -1
- package/dist/composites/ecr-repository.d.ts +0 -1
- package/dist/composites/ecs-trust-policy.d.ts +0 -1
- package/dist/composites/efs-with-access-point.d.ts +0 -1
- package/dist/composites/eks-cluster.d.ts +0 -1
- package/dist/composites/fargate-alb.d.ts +0 -1
- package/dist/composites/fargate-service.d.ts +0 -1
- package/dist/composites/index.d.ts +0 -1
- package/dist/composites/lambda-api.d.ts +0 -1
- package/dist/composites/lambda-dynamodb.d.ts +0 -1
- package/dist/composites/lambda-eventbridge.d.ts +0 -1
- package/dist/composites/lambda-function.d.ts +0 -1
- package/dist/composites/lambda-s3.d.ts +0 -1
- package/dist/composites/lambda-sns.d.ts +0 -1
- package/dist/composites/lambda-sqs.d.ts +0 -1
- package/dist/composites/landing-zone.d.ts +0 -1
- package/dist/composites/latency-entry.d.ts +0 -1
- package/dist/composites/microvm-app.d.ts +0 -1
- package/dist/composites/minimal-vpc.d.ts +0 -1
- package/dist/composites/monitoring-stack.d.ts +0 -1
- package/dist/composites/nlb-service.d.ts +0 -1
- package/dist/composites/rds-instance.d.ts +0 -1
- package/dist/composites/scheduled-lambda.d.ts +0 -1
- package/dist/composites/solr-fargate-service.d.ts +0 -1
- package/dist/composites/step-functions-workflow.d.ts +0 -1
- package/dist/composites/vpc-default.d.ts +0 -1
- package/dist/condition.d.ts +0 -1
- package/dist/coverage.d.ts +0 -1
- package/dist/deep-observe.d.ts +0 -1
- package/dist/deep-topology.d.ts +0 -1
- package/dist/default-tags.d.ts +0 -1
- package/dist/defaults.d.ts +0 -1
- package/dist/dependencies.d.ts +0 -1
- package/dist/detect.d.ts +0 -1
- package/dist/disruption.d.ts +0 -1
- package/dist/effect-receipt-row.d.ts +0 -1
- package/dist/generated/index.d.ts +0 -1
- package/dist/generated/runtime.d.ts +0 -1
- package/dist/governance.d.ts +0 -1
- package/dist/health.d.ts +0 -1
- package/dist/identity-observe.d.ts +0 -1
- package/dist/import/generator.d.ts +0 -1
- package/dist/import/live-export.d.ts +0 -1
- package/dist/import/parser.d.ts +0 -1
- package/dist/importable.d.ts +0 -1
- package/dist/index-identity.d.ts +0 -1
- package/dist/index-import.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/integrity.json +2 -2
- package/dist/intrinsics.d.ts +0 -1
- package/dist/lint/audit-catalog.d.ts +0 -1
- package/dist/lint/audit-lineage.d.ts +0 -1
- package/dist/lint/post-synth/cf-refs.d.ts +0 -1
- package/dist/lint/post-synth/cor020.d.ts +0 -1
- package/dist/lint/post-synth/ext001.d.ts +0 -1
- package/dist/lint/post-synth/index.d.ts +0 -1
- package/dist/lint/post-synth/waw010.d.ts +0 -1
- package/dist/lint/post-synth/waw011.d.ts +0 -1
- package/dist/lint/post-synth/waw013.d.ts +0 -1
- package/dist/lint/post-synth/waw014.d.ts +0 -1
- package/dist/lint/post-synth/waw015.d.ts +0 -1
- package/dist/lint/post-synth/waw016.d.ts +0 -1
- package/dist/lint/post-synth/waw017.d.ts +0 -1
- package/dist/lint/post-synth/waw018.d.ts +0 -1
- package/dist/lint/post-synth/waw019.d.ts +0 -1
- package/dist/lint/post-synth/waw020.d.ts +0 -1
- package/dist/lint/post-synth/waw021.d.ts +0 -1
- package/dist/lint/post-synth/waw022.d.ts +0 -1
- package/dist/lint/post-synth/waw023.d.ts +0 -1
- package/dist/lint/post-synth/waw024.d.ts +0 -1
- package/dist/lint/post-synth/waw025.d.ts +0 -1
- package/dist/lint/post-synth/waw026.d.ts +0 -1
- package/dist/lint/post-synth/waw027.d.ts +0 -1
- package/dist/lint/post-synth/waw028.d.ts +0 -1
- package/dist/lint/post-synth/waw029.d.ts +0 -1
- package/dist/lint/post-synth/waw030.d.ts +0 -1
- package/dist/lint/post-synth/waw031.d.ts +0 -1
- package/dist/lint/post-synth/waw032.d.ts +0 -1
- package/dist/lint/post-synth/waw033.d.ts +0 -1
- package/dist/lint/post-synth/waw034.d.ts +0 -1
- package/dist/lint/post-synth/waw035.d.ts +0 -1
- package/dist/lint/post-synth/waw036.d.ts +0 -1
- package/dist/lint/post-synth/waw037.d.ts +0 -1
- package/dist/lint/post-synth/waw038.d.ts +0 -1
- package/dist/lint/post-synth/waw039.d.ts +0 -1
- package/dist/lint/post-synth/waw040.d.ts +0 -1
- package/dist/lint/post-synth/waw041.d.ts +0 -1
- package/dist/lint/post-synth/waw042.d.ts +0 -1
- package/dist/lint/post-synth/waw043.d.ts +0 -1
- package/dist/lint/post-synth/waw044.d.ts +0 -1
- package/dist/lint/post-synth/waw045.d.ts +0 -1
- package/dist/lint/post-synth/waw046.d.ts +0 -1
- package/dist/lint/post-synth/waw047.d.ts +0 -1
- package/dist/lint/post-synth/waw048.d.ts +0 -1
- package/dist/lint/post-synth/waw049.d.ts +0 -1
- package/dist/lint/post-synth/waw050.d.ts +0 -1
- package/dist/lint/post-synth/waw051.d.ts +0 -1
- package/dist/lint/post-synth/waw052.d.ts +0 -1
- package/dist/lint/post-synth/waw053.d.ts +0 -1
- package/dist/lint/post-synth/waw054.d.ts +0 -1
- package/dist/lint/post-synth/waw055.d.ts +0 -1
- package/dist/lint/post-synth/waw056.d.ts +0 -1
- package/dist/lint/post-synth/waw057.d.ts +0 -1
- package/dist/lint/post-synth/waw058.d.ts +0 -1
- package/dist/lint/post-synth/waw059.d.ts +0 -1
- package/dist/lint/post-synth/waw060.d.ts +0 -1
- package/dist/lint/post-synth/waw061.d.ts +0 -1
- package/dist/lint/post-synth/waw062.d.ts +0 -1
- package/dist/lint/post-synth/waw063.d.ts +0 -1
- package/dist/lint/post-synth/waw064.d.ts +0 -1
- package/dist/lint/post-synth/waw065.d.ts +0 -1
- package/dist/lint/post-synth/waw066.d.ts +0 -1
- package/dist/lint/post-synth/waw067.d.ts +0 -1
- package/dist/lint/post-synth/waw068.d.ts +0 -1
- package/dist/lint/post-synth/waw069.d.ts +0 -1
- package/dist/lint/post-synth/waw070.d.ts +0 -1
- package/dist/lint/post-synth/waw071.d.ts +0 -1
- package/dist/lint/rules/hardcoded-region.d.ts +0 -1
- package/dist/lint/rules/iam-wildcard.d.ts +0 -1
- package/dist/lint/rules/index.d.ts +0 -1
- package/dist/lint/rules/s3-encryption.d.ts +0 -1
- package/dist/listed-types.d.ts +0 -1
- package/dist/live-attrs.d.ts +0 -1
- package/dist/lsp/completions.d.ts +0 -1
- package/dist/lsp/hover.d.ts +0 -1
- package/dist/manifest.json +1 -1
- package/dist/mapping.d.ts +0 -1
- package/dist/nested-stack.d.ts +0 -1
- package/dist/op/activities/aws-apply.d.ts +0 -1
- package/dist/op/activities/floci.d.ts +0 -1
- package/dist/op/activities/index.d.ts +0 -1
- package/dist/op/builders.d.ts +0 -1
- package/dist/ownership.d.ts +0 -1
- package/dist/package-cli.d.ts +0 -1
- package/dist/parameter.d.ts +0 -1
- package/dist/plugin.d.ts +0 -1
- package/dist/properties.d.ts +0 -1
- package/dist/pseudo.d.ts +0 -1
- package/dist/receipt-store.d.ts +0 -1
- package/dist/reference-catalog.d.ts +0 -1
- package/dist/serializer.d.ts +0 -1
- package/dist/spec/fetch.d.ts +0 -1
- package/dist/spec/parse.d.ts +0 -1
- package/dist/spec/pin.d.ts +0 -1
- package/dist/spec/pinned-types.json +1856 -1856
- package/dist/stack-errors.d.ts +0 -1
- package/dist/taggable.d.ts +0 -1
- package/dist/teardown.d.ts +0 -1
- package/dist/template-sections.d.ts +0 -1
- package/dist/template-transform.d.ts +0 -1
- package/dist/validate-cli.d.ts +0 -1
- package/dist/validate.d.ts +0 -1
- package/dist/workspace-member.d.ts +0 -1
- package/package.json +9 -10
- package/dist/actions/dynamodb.d.ts.map +0 -1
- package/dist/actions/ecr.d.ts.map +0 -1
- package/dist/actions/ecs.d.ts.map +0 -1
- package/dist/actions/iam.d.ts.map +0 -1
- package/dist/actions/index.d.ts.map +0 -1
- package/dist/actions/lambda.d.ts.map +0 -1
- package/dist/actions/logs.d.ts.map +0 -1
- package/dist/actions/s3.d.ts.map +0 -1
- package/dist/actions/sns.d.ts.map +0 -1
- package/dist/actions/sqs.d.ts.map +0 -1
- package/dist/agentcore/trace-fetch.d.ts.map +0 -1
- package/dist/agentcore/trace-render.d.ts.map +0 -1
- package/dist/ambient.d.ts.map +0 -1
- package/dist/api/credential-chain.d.ts.map +0 -1
- package/dist/api/read-client.d.ts.map +0 -1
- package/dist/api/signing.d.ts.map +0 -1
- package/dist/behaviour-kinds.d.ts.map +0 -1
- package/dist/caller-identity.d.ts.map +0 -1
- package/dist/capabilities/pack.d.ts.map +0 -1
- package/dist/codegen/docs-cli.d.ts.map +0 -1
- package/dist/codegen/docs.d.ts.map +0 -1
- package/dist/codegen/enum-overlay.d.ts.map +0 -1
- package/dist/codegen/extensions.d.ts.map +0 -1
- package/dist/codegen/fallback.d.ts.map +0 -1
- package/dist/codegen/generate-cli.d.ts.map +0 -1
- package/dist/codegen/generate-lexicon.d.ts.map +0 -1
- package/dist/codegen/generate-typescript.d.ts.map +0 -1
- package/dist/codegen/generate.d.ts.map +0 -1
- package/dist/codegen/naming.d.ts.map +0 -1
- package/dist/codegen/package.d.ts.map +0 -1
- package/dist/codegen/patches.d.ts.map +0 -1
- package/dist/codegen/property-overlay.d.ts.map +0 -1
- package/dist/codegen/sam.d.ts.map +0 -1
- package/dist/codegen/typecheck.d.ts.map +0 -1
- package/dist/codegen/versions.d.ts.map +0 -1
- package/dist/components/__tests__/mock-cloud-executor.d.ts.map +0 -1
- package/dist/components/apply.d.ts.map +0 -1
- package/dist/components/builders.d.ts.map +0 -1
- package/dist/components/capability-plugin.d.ts.map +0 -1
- package/dist/components/cfn-adopt-run.d.ts.map +0 -1
- package/dist/components/cfn-adopt.d.ts.map +0 -1
- package/dist/components/cfn-imports.d.ts.map +0 -1
- package/dist/components/cloud-executor.d.ts.map +0 -1
- package/dist/components/config-bom.d.ts.map +0 -1
- package/dist/components/host-delivery.d.ts.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/job-submission.d.ts.map +0 -1
- package/dist/components/publish.d.ts.map +0 -1
- package/dist/components/safety.d.ts.map +0 -1
- package/dist/components/wait-aws.d.ts.map +0 -1
- package/dist/composites/agentcore-agent.d.ts.map +0 -1
- package/dist/composites/agentcore-trust-policy.d.ts.map +0 -1
- package/dist/composites/alb-shared.d.ts.map +0 -1
- package/dist/composites/bucket-deployment.d.ts.map +0 -1
- package/dist/composites/catalog.d.ts.map +0 -1
- package/dist/composites/dynamodb-table.d.ts.map +0 -1
- package/dist/composites/ec2-instance-bundle.d.ts.map +0 -1
- package/dist/composites/ec2-instance-role.d.ts.map +0 -1
- package/dist/composites/ecr-repository.d.ts.map +0 -1
- package/dist/composites/ecs-trust-policy.d.ts.map +0 -1
- package/dist/composites/efs-with-access-point.d.ts.map +0 -1
- package/dist/composites/eks-cluster.d.ts.map +0 -1
- package/dist/composites/fargate-alb.d.ts.map +0 -1
- package/dist/composites/fargate-service.d.ts.map +0 -1
- package/dist/composites/index.d.ts.map +0 -1
- package/dist/composites/lambda-api.d.ts.map +0 -1
- package/dist/composites/lambda-dynamodb.d.ts.map +0 -1
- package/dist/composites/lambda-eventbridge.d.ts.map +0 -1
- package/dist/composites/lambda-function.d.ts.map +0 -1
- package/dist/composites/lambda-s3.d.ts.map +0 -1
- package/dist/composites/lambda-sns.d.ts.map +0 -1
- package/dist/composites/lambda-sqs.d.ts.map +0 -1
- package/dist/composites/landing-zone.d.ts.map +0 -1
- package/dist/composites/latency-entry.d.ts.map +0 -1
- package/dist/composites/microvm-app.d.ts.map +0 -1
- package/dist/composites/minimal-vpc.d.ts.map +0 -1
- package/dist/composites/monitoring-stack.d.ts.map +0 -1
- package/dist/composites/nlb-service.d.ts.map +0 -1
- package/dist/composites/rds-instance.d.ts.map +0 -1
- package/dist/composites/scheduled-lambda.d.ts.map +0 -1
- package/dist/composites/solr-fargate-service.d.ts.map +0 -1
- package/dist/composites/step-functions-workflow.d.ts.map +0 -1
- package/dist/composites/vpc-default.d.ts.map +0 -1
- package/dist/condition.d.ts.map +0 -1
- package/dist/coverage.d.ts.map +0 -1
- package/dist/deep-observe.d.ts.map +0 -1
- package/dist/deep-topology.d.ts.map +0 -1
- package/dist/default-tags.d.ts.map +0 -1
- package/dist/defaults.d.ts.map +0 -1
- package/dist/dependencies.d.ts.map +0 -1
- package/dist/detect.d.ts.map +0 -1
- package/dist/disruption.d.ts.map +0 -1
- package/dist/effect-receipt-row.d.ts.map +0 -1
- package/dist/generated/index.d.ts.map +0 -1
- package/dist/generated/runtime.d.ts.map +0 -1
- package/dist/governance.d.ts.map +0 -1
- package/dist/health.d.ts.map +0 -1
- package/dist/identity-observe.d.ts.map +0 -1
- package/dist/import/generator.d.ts.map +0 -1
- package/dist/import/live-export.d.ts.map +0 -1
- package/dist/import/parser.d.ts.map +0 -1
- package/dist/importable.d.ts.map +0 -1
- package/dist/index-identity.d.ts.map +0 -1
- package/dist/index-import.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/intrinsics.d.ts.map +0 -1
- package/dist/lint/audit-catalog.d.ts.map +0 -1
- package/dist/lint/audit-lineage.d.ts.map +0 -1
- package/dist/lint/post-synth/cf-refs.d.ts.map +0 -1
- package/dist/lint/post-synth/cor020.d.ts.map +0 -1
- package/dist/lint/post-synth/ext001.d.ts.map +0 -1
- package/dist/lint/post-synth/index.d.ts.map +0 -1
- package/dist/lint/post-synth/waw010.d.ts.map +0 -1
- package/dist/lint/post-synth/waw011.d.ts.map +0 -1
- package/dist/lint/post-synth/waw013.d.ts.map +0 -1
- package/dist/lint/post-synth/waw014.d.ts.map +0 -1
- package/dist/lint/post-synth/waw015.d.ts.map +0 -1
- package/dist/lint/post-synth/waw016.d.ts.map +0 -1
- package/dist/lint/post-synth/waw017.d.ts.map +0 -1
- package/dist/lint/post-synth/waw018.d.ts.map +0 -1
- package/dist/lint/post-synth/waw019.d.ts.map +0 -1
- package/dist/lint/post-synth/waw020.d.ts.map +0 -1
- package/dist/lint/post-synth/waw021.d.ts.map +0 -1
- package/dist/lint/post-synth/waw022.d.ts.map +0 -1
- package/dist/lint/post-synth/waw023.d.ts.map +0 -1
- package/dist/lint/post-synth/waw024.d.ts.map +0 -1
- package/dist/lint/post-synth/waw025.d.ts.map +0 -1
- package/dist/lint/post-synth/waw026.d.ts.map +0 -1
- package/dist/lint/post-synth/waw027.d.ts.map +0 -1
- package/dist/lint/post-synth/waw028.d.ts.map +0 -1
- package/dist/lint/post-synth/waw029.d.ts.map +0 -1
- package/dist/lint/post-synth/waw030.d.ts.map +0 -1
- package/dist/lint/post-synth/waw031.d.ts.map +0 -1
- package/dist/lint/post-synth/waw032.d.ts.map +0 -1
- package/dist/lint/post-synth/waw033.d.ts.map +0 -1
- package/dist/lint/post-synth/waw034.d.ts.map +0 -1
- package/dist/lint/post-synth/waw035.d.ts.map +0 -1
- package/dist/lint/post-synth/waw036.d.ts.map +0 -1
- package/dist/lint/post-synth/waw037.d.ts.map +0 -1
- package/dist/lint/post-synth/waw038.d.ts.map +0 -1
- package/dist/lint/post-synth/waw039.d.ts.map +0 -1
- package/dist/lint/post-synth/waw040.d.ts.map +0 -1
- package/dist/lint/post-synth/waw041.d.ts.map +0 -1
- package/dist/lint/post-synth/waw042.d.ts.map +0 -1
- package/dist/lint/post-synth/waw043.d.ts.map +0 -1
- package/dist/lint/post-synth/waw044.d.ts.map +0 -1
- package/dist/lint/post-synth/waw045.d.ts.map +0 -1
- package/dist/lint/post-synth/waw046.d.ts.map +0 -1
- package/dist/lint/post-synth/waw047.d.ts.map +0 -1
- package/dist/lint/post-synth/waw048.d.ts.map +0 -1
- package/dist/lint/post-synth/waw049.d.ts.map +0 -1
- package/dist/lint/post-synth/waw050.d.ts.map +0 -1
- package/dist/lint/post-synth/waw051.d.ts.map +0 -1
- package/dist/lint/post-synth/waw052.d.ts.map +0 -1
- package/dist/lint/post-synth/waw053.d.ts.map +0 -1
- package/dist/lint/post-synth/waw054.d.ts.map +0 -1
- package/dist/lint/post-synth/waw055.d.ts.map +0 -1
- package/dist/lint/post-synth/waw056.d.ts.map +0 -1
- package/dist/lint/post-synth/waw057.d.ts.map +0 -1
- package/dist/lint/post-synth/waw058.d.ts.map +0 -1
- package/dist/lint/post-synth/waw059.d.ts.map +0 -1
- package/dist/lint/post-synth/waw060.d.ts.map +0 -1
- package/dist/lint/post-synth/waw061.d.ts.map +0 -1
- package/dist/lint/post-synth/waw062.d.ts.map +0 -1
- package/dist/lint/post-synth/waw063.d.ts.map +0 -1
- package/dist/lint/post-synth/waw064.d.ts.map +0 -1
- package/dist/lint/post-synth/waw065.d.ts.map +0 -1
- package/dist/lint/post-synth/waw066.d.ts.map +0 -1
- package/dist/lint/post-synth/waw067.d.ts.map +0 -1
- package/dist/lint/post-synth/waw068.d.ts.map +0 -1
- package/dist/lint/post-synth/waw069.d.ts.map +0 -1
- package/dist/lint/post-synth/waw070.d.ts.map +0 -1
- package/dist/lint/post-synth/waw071.d.ts.map +0 -1
- package/dist/lint/rules/hardcoded-region.d.ts.map +0 -1
- package/dist/lint/rules/iam-wildcard.d.ts.map +0 -1
- package/dist/lint/rules/index.d.ts.map +0 -1
- package/dist/lint/rules/s3-encryption.d.ts.map +0 -1
- package/dist/listed-types.d.ts.map +0 -1
- package/dist/live-attrs.d.ts.map +0 -1
- package/dist/lsp/completions.d.ts.map +0 -1
- package/dist/lsp/hover.d.ts.map +0 -1
- package/dist/mapping.d.ts.map +0 -1
- package/dist/nested-stack.d.ts.map +0 -1
- package/dist/op/activities/aws-apply.d.ts.map +0 -1
- package/dist/op/activities/floci.d.ts.map +0 -1
- package/dist/op/activities/index.d.ts.map +0 -1
- package/dist/op/builders.d.ts.map +0 -1
- package/dist/ownership.d.ts.map +0 -1
- package/dist/package-cli.d.ts.map +0 -1
- package/dist/parameter.d.ts.map +0 -1
- package/dist/plugin.d.ts.map +0 -1
- package/dist/properties.d.ts.map +0 -1
- package/dist/pseudo.d.ts.map +0 -1
- package/dist/receipt-store.d.ts.map +0 -1
- package/dist/reference-catalog.d.ts.map +0 -1
- package/dist/serializer.d.ts.map +0 -1
- package/dist/spec/fetch.d.ts.map +0 -1
- package/dist/spec/parse.d.ts.map +0 -1
- package/dist/spec/pin.d.ts.map +0 -1
- package/dist/stack-errors.d.ts.map +0 -1
- package/dist/taggable.d.ts.map +0 -1
- package/dist/teardown.d.ts.map +0 -1
- package/dist/template-sections.d.ts.map +0 -1
- package/dist/template-transform.d.ts.map +0 -1
- package/dist/validate-cli.d.ts.map +0 -1
- package/dist/validate.d.ts.map +0 -1
- package/dist/workspace-member.d.ts.map +0 -1
- package/src/actions/actions.test.ts +0 -89
- package/src/actions/dynamodb.ts +0 -47
- package/src/actions/ecr.ts +0 -9
- package/src/actions/ecs.ts +0 -5
- package/src/actions/iam.ts +0 -3
- package/src/actions/index.ts +0 -9
- package/src/actions/lambda.ts +0 -11
- package/src/actions/logs.ts +0 -4
- package/src/actions/s3.ts +0 -46
- package/src/actions/sns.ts +0 -5
- package/src/actions/sqs.ts +0 -15
- package/src/agentcore/trace-fetch.test.ts +0 -605
- package/src/agentcore/trace-fetch.ts +0 -761
- package/src/agentcore/trace-render.test.ts +0 -366
- package/src/agentcore/trace-render.ts +0 -589
- package/src/ambient.test.ts +0 -92
- package/src/ambient.ts +0 -163
- package/src/api/credential-chain.test.ts +0 -70
- package/src/api/credential-chain.ts +0 -646
- package/src/api/credential-isolation.test.ts +0 -72
- package/src/api/read-client-chain.test.ts +0 -159
- package/src/api/read-client.test.ts +0 -413
- package/src/api/read-client.ts +0 -632
- package/src/api/signing.test.ts +0 -248
- package/src/api/signing.ts +0 -130
- package/src/behaviour-kinds.ts +0 -121
- package/src/caller-identity.test.ts +0 -476
- package/src/caller-identity.ts +0 -169
- package/src/capabilities/mapping.json +0 -150
- package/src/capabilities/pack.ts +0 -9
- package/src/capabilities.test.ts +0 -182
- package/src/codegen/__snapshots__/snapshot.test.ts.snap +0 -196
- package/src/codegen/any-budget.test.ts +0 -76
- package/src/codegen/docs-cli.ts +0 -3
- package/src/codegen/docs-links.test.ts +0 -158
- package/src/codegen/docs.ts +0 -133
- package/src/codegen/enum-overlay.json +0 -1843
- package/src/codegen/enum-overlay.test.ts +0 -298
- package/src/codegen/enum-overlay.ts +0 -245
- package/src/codegen/extensions.ts +0 -171
- package/src/codegen/fallback.ts +0 -36
- package/src/codegen/generate-cli.ts +0 -17
- package/src/codegen/generate-lexicon.ts +0 -115
- package/src/codegen/generate-typescript.ts +0 -281
- package/src/codegen/generate.test.ts +0 -125
- package/src/codegen/generate.ts +0 -298
- package/src/codegen/idempotency.test.ts +0 -28
- package/src/codegen/naming.ts +0 -149
- package/src/codegen/package.e2e.test.ts +0 -78
- package/src/codegen/package.ts +0 -90
- package/src/codegen/patches.test.ts +0 -95
- package/src/codegen/patches.ts +0 -142
- package/src/codegen/property-overlay.json +0 -4
- package/src/codegen/property-overlay.test.ts +0 -61
- package/src/codegen/property-overlay.ts +0 -125
- package/src/codegen/sam.ts +0 -414
- package/src/codegen/snapshot.test.ts +0 -84
- package/src/codegen/typecheck.test.ts +0 -50
- package/src/codegen/typecheck.ts +0 -4
- package/src/codegen/versions.ts +0 -41
- package/src/components/__fixtures__/schemas/cyclonedx-1.5.schema.json +0 -3800
- package/src/components/__fixtures__/schemas/cyclonedx-spdx-license.schema.json +0 -621
- package/src/components/__fixtures__/schemas/jsf-0.82.schema.json +0 -240
- package/src/components/__fixtures__/schemas/spdx-2.3.schema.json +0 -740
- package/src/components/__fixtures__/synthesized-template.json +0 -53
- package/src/components/__tests__/mock-cloud-executor.ts +0 -487
- package/src/components/apply.test.ts +0 -474
- package/src/components/apply.ts +0 -1495
- package/src/components/builders.test.ts +0 -49
- package/src/components/builders.ts +0 -59
- package/src/components/capability-plugin.test.ts +0 -19
- package/src/components/capability-plugin.ts +0 -81
- package/src/components/cfn-adopt-run.test.ts +0 -227
- package/src/components/cfn-adopt-run.ts +0 -141
- package/src/components/cfn-adopt.test.ts +0 -284
- package/src/components/cfn-adopt.ts +0 -340
- package/src/components/cfn-exports-in-use.test.ts +0 -146
- package/src/components/cfn-imports-preview.test.ts +0 -178
- package/src/components/cfn-imports-three-stacks.test.ts +0 -107
- package/src/components/cfn-imports.test.ts +0 -213
- package/src/components/cfn-imports.ts +0 -246
- package/src/components/cfn-plan-floci.e2e.test.ts +0 -129
- package/src/components/cfn-plan-shape-conformance.test.ts +0 -83
- package/src/components/cfn-plan.test.ts +0 -760
- package/src/components/cloud-executor.test.ts +0 -105
- package/src/components/cloud-executor.ts +0 -1136
- package/src/components/config-bom.test.ts +0 -273
- package/src/components/config-bom.ts +0 -310
- package/src/components/demo-composed-stacks-floci.e2e.test.ts +0 -235
- package/src/components/ecs-rollback-real-executor.test.ts +0 -135
- package/src/components/host-delivery.test.ts +0 -141
- package/src/components/host-delivery.ts +0 -199
- package/src/components/index.ts +0 -19
- package/src/components/job-submission.test.ts +0 -97
- package/src/components/job-submission.ts +0 -138
- package/src/components/pilots-e2e.test.ts +0 -468
- package/src/components/presets-e2e.test.ts +0 -204
- package/src/components/publish.test.ts +0 -318
- package/src/components/publish.ts +0 -224
- package/src/components/safety.test.ts +0 -75
- package/src/components/safety.ts +0 -119
- package/src/components/wait-aws.test.ts +0 -79
- package/src/components/wait-aws.ts +0 -132
- package/src/composites/agentcore-agent.test.ts +0 -315
- package/src/composites/agentcore-agent.ts +0 -327
- package/src/composites/agentcore-trust-policy.ts +0 -13
- package/src/composites/alb-shared.ts +0 -123
- package/src/composites/barrel.test.ts +0 -32
- package/src/composites/bucket-deployment.test.ts +0 -84
- package/src/composites/bucket-deployment.ts +0 -153
- package/src/composites/catalog.test.ts +0 -39
- package/src/composites/catalog.ts +0 -2851
- package/src/composites/composites.test.ts +0 -1257
- package/src/composites/dynamodb-table.test.ts +0 -154
- package/src/composites/dynamodb-table.ts +0 -125
- package/src/composites/ec2-instance-bundle.ts +0 -134
- package/src/composites/ec2-instance-role.ts +0 -40
- package/src/composites/ecr-repository.test.ts +0 -118
- package/src/composites/ecr-repository.ts +0 -118
- package/src/composites/ecs-trust-policy.ts +0 -10
- package/src/composites/efs-with-access-point.ts +0 -81
- package/src/composites/eks-cluster.test.ts +0 -73
- package/src/composites/eks-cluster.ts +0 -164
- package/src/composites/fargate-alb.ts +0 -309
- package/src/composites/fargate-service.ts +0 -353
- package/src/composites/index.ts +0 -68
- package/src/composites/lambda-api.ts +0 -30
- package/src/composites/lambda-dynamodb.ts +0 -109
- package/src/composites/lambda-eventbridge.ts +0 -43
- package/src/composites/lambda-function.ts +0 -88
- package/src/composites/lambda-s3.ts +0 -135
- package/src/composites/lambda-sns.ts +0 -38
- package/src/composites/lambda-sqs.ts +0 -52
- package/src/composites/landing-zone.test.ts +0 -53
- package/src/composites/landing-zone.ts +0 -152
- package/src/composites/latency-entry.test.ts +0 -99
- package/src/composites/latency-entry.ts +0 -121
- package/src/composites/microvm-app.test.ts +0 -272
- package/src/composites/microvm-app.ts +0 -463
- package/src/composites/minimal-vpc.ts +0 -72
- package/src/composites/monitoring-stack.test.ts +0 -130
- package/src/composites/monitoring-stack.ts +0 -164
- package/src/composites/nlb-service.ts +0 -118
- package/src/composites/rds-instance.ts +0 -168
- package/src/composites/scheduled-lambda.ts +0 -44
- package/src/composites/solr-fargate-service.ts +0 -50
- package/src/composites/step-functions-workflow.ts +0 -128
- package/src/composites/vpc-default.ts +0 -217
- package/src/condition.test.ts +0 -160
- package/src/condition.ts +0 -54
- package/src/coverage.test.ts +0 -31
- package/src/coverage.ts +0 -14
- package/src/deep-observe.test.ts +0 -1063
- package/src/deep-observe.ts +0 -881
- package/src/deep-topology.test.ts +0 -396
- package/src/deep-topology.ts +0 -237
- package/src/default-tags.test.ts +0 -38
- package/src/default-tags.ts +0 -77
- package/src/defaults.test.ts +0 -73
- package/src/defaults.ts +0 -97
- package/src/dependencies.test.ts +0 -208
- package/src/dependencies.ts +0 -328
- package/src/derived-edges.test.ts +0 -142
- package/src/detect.ts +0 -19
- package/src/disruption.test.ts +0 -198
- package/src/disruption.ts +0 -155
- package/src/effect-receipt-row.test.ts +0 -164
- package/src/effect-receipt-row.ts +0 -147
- package/src/generated/index.d.ts +0 -158317
- package/src/generated/index.ts +0 -12385
- package/src/generated/runtime.ts +0 -4
- package/src/governance.test.ts +0 -81
- package/src/governance.ts +0 -249
- package/src/graph-sub-edges.test.ts +0 -101
- package/src/health.test.ts +0 -136
- package/src/health.ts +0 -281
- package/src/identity-observe.test.ts +0 -146
- package/src/identity-observe.ts +0 -138
- package/src/import/generator.test.ts +0 -313
- package/src/import/generator.ts +0 -820
- package/src/import/live-export-io.test.ts +0 -79
- package/src/import/live-export.test.ts +0 -96
- package/src/import/live-export.ts +0 -43
- package/src/import/parser.test.ts +0 -330
- package/src/import/parser.ts +0 -502
- package/src/import/roundtrip-build.test.ts +0 -388
- package/src/import/roundtrip-fixtures.test.ts +0 -190
- package/src/import/roundtrip.test.ts +0 -196
- package/src/importable.test.ts +0 -86
- package/src/importable.ts +0 -83
- package/src/index-identity.test.ts +0 -134
- package/src/index-identity.ts +0 -98
- package/src/index-import.test.ts +0 -257
- package/src/index-import.ts +0 -158
- package/src/index-search.test.ts +0 -87
- package/src/index.ts +0 -223
- package/src/integration.test.ts +0 -200
- package/src/intrinsics.test.ts +0 -188
- package/src/intrinsics.ts +0 -488
- package/src/lifecycle-integration.test.ts +0 -621
- package/src/lint/audit-catalog.ts +0 -98
- package/src/lint/audit-lineage.ts +0 -167
- package/src/lint/post-synth/cf-refs.ts +0 -285
- package/src/lint/post-synth/cor020.ts +0 -72
- package/src/lint/post-synth/ext001.test.ts +0 -365
- package/src/lint/post-synth/ext001.ts +0 -388
- package/src/lint/post-synth/index.ts +0 -131
- package/src/lint/post-synth/post-synth.test.ts +0 -280
- package/src/lint/post-synth/waw010.ts +0 -49
- package/src/lint/post-synth/waw011.ts +0 -49
- package/src/lint/post-synth/waw013.test.ts +0 -120
- package/src/lint/post-synth/waw013.ts +0 -45
- package/src/lint/post-synth/waw014.test.ts +0 -121
- package/src/lint/post-synth/waw014.ts +0 -50
- package/src/lint/post-synth/waw015.test.ts +0 -147
- package/src/lint/post-synth/waw015.ts +0 -100
- package/src/lint/post-synth/waw016.test.ts +0 -348
- package/src/lint/post-synth/waw016.ts +0 -135
- package/src/lint/post-synth/waw017.test.ts +0 -130
- package/src/lint/post-synth/waw017.ts +0 -54
- package/src/lint/post-synth/waw018.test.ts +0 -109
- package/src/lint/post-synth/waw018.ts +0 -71
- package/src/lint/post-synth/waw019.test.ts +0 -170
- package/src/lint/post-synth/waw019.ts +0 -82
- package/src/lint/post-synth/waw020.test.ts +0 -125
- package/src/lint/post-synth/waw020.ts +0 -64
- package/src/lint/post-synth/waw021.test.ts +0 -81
- package/src/lint/post-synth/waw021.ts +0 -53
- package/src/lint/post-synth/waw022.test.ts +0 -54
- package/src/lint/post-synth/waw022.ts +0 -43
- package/src/lint/post-synth/waw023.test.ts +0 -53
- package/src/lint/post-synth/waw023.ts +0 -47
- package/src/lint/post-synth/waw024.test.ts +0 -64
- package/src/lint/post-synth/waw024.ts +0 -54
- package/src/lint/post-synth/waw025.test.ts +0 -42
- package/src/lint/post-synth/waw025.ts +0 -43
- package/src/lint/post-synth/waw026.test.ts +0 -54
- package/src/lint/post-synth/waw026.ts +0 -46
- package/src/lint/post-synth/waw027.test.ts +0 -63
- package/src/lint/post-synth/waw027.ts +0 -50
- package/src/lint/post-synth/waw028.test.ts +0 -68
- package/src/lint/post-synth/waw028.ts +0 -47
- package/src/lint/post-synth/waw029.test.ts +0 -179
- package/src/lint/post-synth/waw029.ts +0 -62
- package/src/lint/post-synth/waw030.test.ts +0 -1008
- package/src/lint/post-synth/waw030.ts +0 -301
- package/src/lint/post-synth/waw031.test.ts +0 -273
- package/src/lint/post-synth/waw031.ts +0 -66
- package/src/lint/post-synth/waw032.test.ts +0 -83
- package/src/lint/post-synth/waw032.ts +0 -52
- package/src/lint/post-synth/waw033.test.ts +0 -68
- package/src/lint/post-synth/waw033.ts +0 -86
- package/src/lint/post-synth/waw034.test.ts +0 -54
- package/src/lint/post-synth/waw034.ts +0 -63
- package/src/lint/post-synth/waw035.test.ts +0 -74
- package/src/lint/post-synth/waw035.ts +0 -71
- package/src/lint/post-synth/waw036.test.ts +0 -217
- package/src/lint/post-synth/waw036.ts +0 -88
- package/src/lint/post-synth/waw037.test.ts +0 -155
- package/src/lint/post-synth/waw037.ts +0 -81
- package/src/lint/post-synth/waw038.test.ts +0 -78
- package/src/lint/post-synth/waw038.ts +0 -50
- package/src/lint/post-synth/waw039.test.ts +0 -72
- package/src/lint/post-synth/waw039.ts +0 -51
- package/src/lint/post-synth/waw040.test.ts +0 -71
- package/src/lint/post-synth/waw040.ts +0 -54
- package/src/lint/post-synth/waw041.test.ts +0 -72
- package/src/lint/post-synth/waw041.ts +0 -48
- package/src/lint/post-synth/waw042.test.ts +0 -166
- package/src/lint/post-synth/waw042.ts +0 -108
- package/src/lint/post-synth/waw043.test.ts +0 -84
- package/src/lint/post-synth/waw043.ts +0 -57
- package/src/lint/post-synth/waw044.test.ts +0 -112
- package/src/lint/post-synth/waw044.ts +0 -68
- package/src/lint/post-synth/waw045.test.ts +0 -101
- package/src/lint/post-synth/waw045.ts +0 -58
- package/src/lint/post-synth/waw046.test.ts +0 -112
- package/src/lint/post-synth/waw046.ts +0 -59
- package/src/lint/post-synth/waw047.test.ts +0 -64
- package/src/lint/post-synth/waw047.ts +0 -50
- package/src/lint/post-synth/waw048.test.ts +0 -77
- package/src/lint/post-synth/waw048.ts +0 -47
- package/src/lint/post-synth/waw049.test.ts +0 -139
- package/src/lint/post-synth/waw049.ts +0 -100
- package/src/lint/post-synth/waw050.test.ts +0 -75
- package/src/lint/post-synth/waw050.ts +0 -54
- package/src/lint/post-synth/waw051.test.ts +0 -78
- package/src/lint/post-synth/waw051.ts +0 -49
- package/src/lint/post-synth/waw052.test.ts +0 -54
- package/src/lint/post-synth/waw052.ts +0 -51
- package/src/lint/post-synth/waw053.test.ts +0 -59
- package/src/lint/post-synth/waw053.ts +0 -53
- package/src/lint/post-synth/waw054.test.ts +0 -49
- package/src/lint/post-synth/waw054.ts +0 -49
- package/src/lint/post-synth/waw055.test.ts +0 -43
- package/src/lint/post-synth/waw055.ts +0 -49
- package/src/lint/post-synth/waw056.test.ts +0 -78
- package/src/lint/post-synth/waw056.ts +0 -67
- package/src/lint/post-synth/waw057.test.ts +0 -65
- package/src/lint/post-synth/waw057.ts +0 -48
- package/src/lint/post-synth/waw058.test.ts +0 -82
- package/src/lint/post-synth/waw058.ts +0 -71
- package/src/lint/post-synth/waw059.test.ts +0 -309
- package/src/lint/post-synth/waw059.ts +0 -353
- package/src/lint/post-synth/waw060.test.ts +0 -131
- package/src/lint/post-synth/waw060.ts +0 -91
- package/src/lint/post-synth/waw061.test.ts +0 -99
- package/src/lint/post-synth/waw061.ts +0 -67
- package/src/lint/post-synth/waw062.test.ts +0 -109
- package/src/lint/post-synth/waw062.ts +0 -0
- package/src/lint/post-synth/waw063.test.ts +0 -220
- package/src/lint/post-synth/waw063.ts +0 -0
- package/src/lint/post-synth/waw064.test.ts +0 -79
- package/src/lint/post-synth/waw064.ts +0 -52
- package/src/lint/post-synth/waw065.test.ts +0 -90
- package/src/lint/post-synth/waw065.ts +0 -110
- package/src/lint/post-synth/waw066.test.ts +0 -108
- package/src/lint/post-synth/waw066.ts +0 -155
- package/src/lint/post-synth/waw067.test.ts +0 -79
- package/src/lint/post-synth/waw067.ts +0 -114
- package/src/lint/post-synth/waw068.test.ts +0 -74
- package/src/lint/post-synth/waw068.ts +0 -78
- package/src/lint/post-synth/waw069.test.ts +0 -94
- package/src/lint/post-synth/waw069.ts +0 -0
- package/src/lint/post-synth/waw070.test.ts +0 -59
- package/src/lint/post-synth/waw070.ts +0 -89
- package/src/lint/post-synth/waw071.test.ts +0 -50
- package/src/lint/post-synth/waw071.ts +0 -85
- package/src/lint/rules/hardcoded-region.ts +0 -44
- package/src/lint/rules/iam-wildcard.ts +0 -67
- package/src/lint/rules/index.ts +0 -7
- package/src/lint/rules/rules.test.ts +0 -175
- package/src/lint/rules/s3-encryption.ts +0 -69
- package/src/listed-types.test.ts +0 -97
- package/src/listed-types.ts +0 -56
- package/src/live-attrs.test.ts +0 -54
- package/src/live-attrs.ts +0 -40
- package/src/lsp/completions.test.ts +0 -74
- package/src/lsp/completions.ts +0 -21
- package/src/lsp/hover.test.ts +0 -53
- package/src/lsp/hover.ts +0 -83
- package/src/mapping.test.ts +0 -64
- package/src/mapping.ts +0 -41
- package/src/nested-stack-integration.test.ts +0 -100
- package/src/nested-stack.test.ts +0 -83
- package/src/nested-stack.ts +0 -125
- package/src/op/activities/aws-apply.test.ts +0 -290
- package/src/op/activities/aws-apply.ts +0 -302
- package/src/op/activities/floci.test.ts +0 -119
- package/src/op/activities/floci.ts +0 -145
- package/src/op/activities/index.ts +0 -69
- package/src/op/builders.test.ts +0 -61
- package/src/op/builders.ts +0 -72
- package/src/ownership.test.ts +0 -41
- package/src/ownership.ts +0 -52
- package/src/package-cli.ts +0 -30
- package/src/parameter.ts +0 -37
- package/src/plugin.test.ts +0 -341
- package/src/plugin.ts +0 -1179
- package/src/properties.test.ts +0 -146
- package/src/properties.ts +0 -193
- package/src/pseudo.test.ts +0 -55
- package/src/pseudo.ts +0 -29
- package/src/receipt-store.test.ts +0 -204
- package/src/receipt-store.ts +0 -316
- package/src/reference-catalog.test.ts +0 -102
- package/src/reference-catalog.ts +0 -153
- package/src/serializer-foreign-attr.test.ts +0 -43
- package/src/serializer-ownership.test.ts +0 -55
- package/src/serializer-tag-shapes.test.ts +0 -83
- package/src/serializer.test.ts +0 -1011
- package/src/serializer.ts +0 -757
- package/src/skills/chant-aws-carve-terraform.md +0 -115
- package/src/skills/chant-aws-eks.md +0 -178
- package/src/skills/chant-aws.md +0 -430
- package/src/spec/fetch.test.ts +0 -167
- package/src/spec/fetch.ts +0 -286
- package/src/spec/parse.test.ts +0 -552
- package/src/spec/parse.ts +0 -458
- package/src/spec/pin.test.ts +0 -263
- package/src/spec/pin.ts +0 -254
- package/src/spec/pinned-types.json +0 -1858
- package/src/stack-errors.ts +0 -15
- package/src/taggable.ts +0 -111
- package/src/teardown.test.ts +0 -258
- package/src/teardown.ts +0 -276
- package/src/template-sections.ts +0 -71
- package/src/template-transform.ts +0 -68
- package/src/testdata/capabilities-ledger/estate.ts +0 -161
- package/src/testdata/cdk-member/cdk.json +0 -1
- package/src/testdata/cdk-member/cdk.out/AppStack.template.json +0 -20
- package/src/testdata/cdk-member/cdk.out/manifest.json +0 -1
- package/src/testdata/cdk-unsynthesized/cdk.json +0 -1
- package/src/testdata/cfn-member/README.txt +0 -1
- package/src/testdata/cfn-member/stack.yaml +0 -36
- package/src/testdata/indexed/identity.listing.json +0 -65
- package/src/testdata/indexed/import.listing.json +0 -126
- package/src/testdata/indexed/listing.json +0 -69
- package/src/testdata/indexed/topology.listing.json +0 -350
- package/src/testdata/load-fixtures.ts +0 -17
- package/src/testdata/nested-stacks/app.ts +0 -26
- package/src/testdata/nested-stacks/network/outputs.ts +0 -17
- package/src/testdata/nested-stacks/network/security.ts +0 -17
- package/src/testdata/nested-stacks/network/vpc.ts +0 -54
- package/src/testdata/roundtrip/conditions.json +0 -21
- package/src/testdata/roundtrip/intrinsic-calls.json +0 -31
- package/src/testdata/roundtrip/intrinsics.json +0 -18
- package/src/testdata/roundtrip/multi-resource.json +0 -37
- package/src/testdata/roundtrip/parameters.json +0 -23
- package/src/testdata/roundtrip/simple.json +0 -12
- package/src/testdata/roundtrip/with-conditions.json +0 -16
- package/src/testdata/sam-fixtures/api.yaml +0 -14
- package/src/testdata/sam-fixtures/application.yaml +0 -13
- package/src/testdata/sam-fixtures/function.yaml +0 -22
- package/src/testdata/sam-fixtures/graphql-api.yaml +0 -13
- package/src/testdata/sam-fixtures/http-api.yaml +0 -15
- package/src/testdata/sam-fixtures/layer-version.yaml +0 -15
- package/src/testdata/sam-fixtures/multi-type-a.yaml +0 -23
- package/src/testdata/sam-fixtures/multi-type-b.yaml +0 -29
- package/src/testdata/sam-fixtures/simple-table.yaml +0 -12
- package/src/testdata/sam-fixtures/state-machine.yaml +0 -14
- package/src/testdata/schemas/aws-dynamodb-table.json +0 -126
- package/src/testdata/schemas/aws-iam-role.json +0 -85
- package/src/testdata/schemas/aws-lambda-function.json +0 -90
- package/src/testdata/schemas/aws-s3-bucket.json +0 -83
- package/src/testdata/schemas/aws-sns-topic.json +0 -71
- package/src/testdata/three-cloud/dns.graph.json +0 -336
- package/src/three-cloud-parity.test.ts +0 -49
- package/src/validate-cli.ts +0 -19
- package/src/validate.e2e.test.ts +0 -34
- package/src/validate.ts +0 -39
- package/src/workspace-kinds.test.ts +0 -47
- package/src/workspace-member.test.ts +0 -94
- package/src/workspace-member.ts +0 -197
- /package/{src → dist}/generated/lexicon-aws.json +0 -0
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WAW030: Missing DependsOn for Known Patterns
|
|
3
|
-
*
|
|
4
|
-
* Detects resources that are likely missing a required DependsOn
|
|
5
|
-
* based on well-known CloudFormation ordering requirements:
|
|
6
|
-
*
|
|
7
|
-
* - ECS Service with LoadBalancers but no DependsOn on a Listener
|
|
8
|
-
* - EC2 Route with GatewayId but no DependsOn on VPCGatewayAttachment
|
|
9
|
-
* - API Gateway Deployment with no DependsOn on any Method
|
|
10
|
-
* - API Gateway V2 Deployment with no DependsOn on any Route
|
|
11
|
-
* - DynamoDB ScalableTarget with no DependsOn on the Table
|
|
12
|
-
* - ECS ScalableTarget with no DependsOn on the ECS Service
|
|
13
|
-
* - EKS Addon with hardcoded ClusterName but no DependsOn on the Cluster or Nodegroup
|
|
14
|
-
* - EKS Nodegroup with hardcoded ClusterName but no DependsOn on the Cluster
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
import type { PostSynthCheck, PostSynthContext, PostSynthDiagnostic } from "@intentius/chant/lint/post-synth";
|
|
18
|
-
import { parseCFTemplate } from "./cf-refs";
|
|
19
|
-
|
|
20
|
-
export function checkMissingDependsOn(ctx: PostSynthContext): PostSynthDiagnostic[] {
|
|
21
|
-
const diagnostics: PostSynthDiagnostic[] = [];
|
|
22
|
-
|
|
23
|
-
for (const [_lexicon, output] of ctx.outputs) {
|
|
24
|
-
const template = parseCFTemplate(output);
|
|
25
|
-
if (!template?.Resources) continue;
|
|
26
|
-
|
|
27
|
-
const resources = template.Resources;
|
|
28
|
-
|
|
29
|
-
// Collect logical IDs by type
|
|
30
|
-
const listenerIds: string[] = [];
|
|
31
|
-
const vpcGatewayAttachmentIds: string[] = [];
|
|
32
|
-
const methodIds: string[] = [];
|
|
33
|
-
const deploymentIds: string[] = [];
|
|
34
|
-
const routeV2Ids: string[] = [];
|
|
35
|
-
const deploymentV2Ids: string[] = [];
|
|
36
|
-
const dynamoTableIds: string[] = [];
|
|
37
|
-
const ecsServiceIds: string[] = [];
|
|
38
|
-
const scalableTargetEntries: { logicalId: string; namespace: string }[] = [];
|
|
39
|
-
const eksClusterIds: string[] = [];
|
|
40
|
-
const eksNodegroupIds: string[] = [];
|
|
41
|
-
const eksAddonIds: string[] = [];
|
|
42
|
-
|
|
43
|
-
for (const [logicalId, resource] of Object.entries(resources)) {
|
|
44
|
-
if (resource.Type === "AWS::ElasticLoadBalancingV2::Listener") {
|
|
45
|
-
listenerIds.push(logicalId);
|
|
46
|
-
}
|
|
47
|
-
if (resource.Type === "AWS::EC2::VPCGatewayAttachment") {
|
|
48
|
-
vpcGatewayAttachmentIds.push(logicalId);
|
|
49
|
-
}
|
|
50
|
-
if (resource.Type === "AWS::ApiGateway::Method") {
|
|
51
|
-
methodIds.push(logicalId);
|
|
52
|
-
}
|
|
53
|
-
if (resource.Type === "AWS::ApiGateway::Deployment") {
|
|
54
|
-
deploymentIds.push(logicalId);
|
|
55
|
-
}
|
|
56
|
-
if (resource.Type === "AWS::ApiGatewayV2::Route") {
|
|
57
|
-
routeV2Ids.push(logicalId);
|
|
58
|
-
}
|
|
59
|
-
if (resource.Type === "AWS::ApiGatewayV2::Deployment") {
|
|
60
|
-
deploymentV2Ids.push(logicalId);
|
|
61
|
-
}
|
|
62
|
-
if (resource.Type === "AWS::DynamoDB::Table") {
|
|
63
|
-
dynamoTableIds.push(logicalId);
|
|
64
|
-
}
|
|
65
|
-
if (resource.Type === "AWS::ECS::Service") {
|
|
66
|
-
ecsServiceIds.push(logicalId);
|
|
67
|
-
}
|
|
68
|
-
if (resource.Type === "AWS::EKS::Cluster") {
|
|
69
|
-
eksClusterIds.push(logicalId);
|
|
70
|
-
}
|
|
71
|
-
if (resource.Type === "AWS::EKS::Nodegroup") {
|
|
72
|
-
eksNodegroupIds.push(logicalId);
|
|
73
|
-
}
|
|
74
|
-
if (resource.Type === "AWS::EKS::Addon") {
|
|
75
|
-
eksAddonIds.push(logicalId);
|
|
76
|
-
}
|
|
77
|
-
if (resource.Type === "AWS::ApplicationAutoScaling::ScalableTarget") {
|
|
78
|
-
const props = resource.Properties ?? {};
|
|
79
|
-
const ns = inferScalingNamespace(props);
|
|
80
|
-
if (ns) {
|
|
81
|
-
scalableTargetEntries.push({ logicalId, namespace: ns });
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
for (const [logicalId, resource] of Object.entries(resources)) {
|
|
87
|
-
// Pattern 1: ECS Service with LoadBalancers but no DependsOn on Listener
|
|
88
|
-
if (resource.Type === "AWS::ECS::Service" && listenerIds.length > 0) {
|
|
89
|
-
const props = resource.Properties ?? {};
|
|
90
|
-
if (props.LoadBalancers && Array.isArray(props.LoadBalancers) && props.LoadBalancers.length > 0) {
|
|
91
|
-
const deps = getDependsOnSet(resource);
|
|
92
|
-
const hasListenerDep = listenerIds.some((id) => deps.has(id));
|
|
93
|
-
if (!hasListenerDep) {
|
|
94
|
-
diagnostics.push({
|
|
95
|
-
checkId: "WAW030",
|
|
96
|
-
severity: "warning",
|
|
97
|
-
message: `ECS Service "${logicalId}" has LoadBalancers but no DependsOn on a Listener — the Service may fail to create if the Listener isn't ready`,
|
|
98
|
-
entity: logicalId,
|
|
99
|
-
lexicon: "aws",
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Pattern 2: EC2 Route with GatewayId but no DependsOn on VPCGatewayAttachment
|
|
106
|
-
if (resource.Type === "AWS::EC2::Route" && vpcGatewayAttachmentIds.length > 0) {
|
|
107
|
-
const props = resource.Properties ?? {};
|
|
108
|
-
if (props.GatewayId) {
|
|
109
|
-
const deps = getDependsOnSet(resource);
|
|
110
|
-
const hasAttachmentDep = vpcGatewayAttachmentIds.some((id) => deps.has(id));
|
|
111
|
-
// Also check if any property refs point to the attachment
|
|
112
|
-
const propRefs = collectPropertyRefs(resource);
|
|
113
|
-
const hasAttachmentRef = vpcGatewayAttachmentIds.some((id) => propRefs.has(id));
|
|
114
|
-
if (!hasAttachmentDep && !hasAttachmentRef) {
|
|
115
|
-
diagnostics.push({
|
|
116
|
-
checkId: "WAW030",
|
|
117
|
-
severity: "warning",
|
|
118
|
-
message: `Route "${logicalId}" uses a Gateway but has no dependency on VPCGatewayAttachment — the route may fail if the gateway isn't attached yet`,
|
|
119
|
-
entity: logicalId,
|
|
120
|
-
lexicon: "aws",
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// Pattern 3: API Gateway Deployment with no DependsOn on any Method
|
|
127
|
-
if (resource.Type === "AWS::ApiGateway::Deployment" && methodIds.length > 0) {
|
|
128
|
-
const deps = getDependsOnSet(resource);
|
|
129
|
-
const hasMethodDep = methodIds.some((id) => deps.has(id));
|
|
130
|
-
const propRefs = collectPropertyRefs(resource);
|
|
131
|
-
const hasMethodRef = methodIds.some((id) => propRefs.has(id));
|
|
132
|
-
if (!hasMethodDep && !hasMethodRef) {
|
|
133
|
-
diagnostics.push({
|
|
134
|
-
checkId: "WAW030",
|
|
135
|
-
severity: "warning",
|
|
136
|
-
message: `API Gateway Deployment "${logicalId}" has no DependsOn on any Method — the deployment may fail with "REST API doesn't contain any methods"`,
|
|
137
|
-
entity: logicalId,
|
|
138
|
-
lexicon: "aws",
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
// Pattern 4: API Gateway V2 Deployment with no DependsOn on any Route
|
|
144
|
-
if (resource.Type === "AWS::ApiGatewayV2::Deployment" && routeV2Ids.length > 0) {
|
|
145
|
-
const deps = getDependsOnSet(resource);
|
|
146
|
-
const hasRouteDep = routeV2Ids.some((id) => deps.has(id));
|
|
147
|
-
const propRefs = collectPropertyRefs(resource);
|
|
148
|
-
const hasRouteRef = routeV2Ids.some((id) => propRefs.has(id));
|
|
149
|
-
if (!hasRouteDep && !hasRouteRef) {
|
|
150
|
-
diagnostics.push({
|
|
151
|
-
checkId: "WAW030",
|
|
152
|
-
severity: "warning",
|
|
153
|
-
message: `API Gateway V2 Deployment "${logicalId}" has no DependsOn on any Route — the deployment may fail if no routes exist yet`,
|
|
154
|
-
entity: logicalId,
|
|
155
|
-
lexicon: "aws",
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
// Pattern 7: EKS Addon with hardcoded ClusterName but no dependency on Cluster or Nodegroup
|
|
162
|
-
for (const addonId of eksAddonIds) {
|
|
163
|
-
const resource = resources[addonId];
|
|
164
|
-
const deps = getDependsOnSet(resource);
|
|
165
|
-
const propRefs = collectPropertyRefs(resource);
|
|
166
|
-
const allClusterAndNodeDeps = [...eksClusterIds, ...eksNodegroupIds];
|
|
167
|
-
|
|
168
|
-
const hasClusterDep = allClusterAndNodeDeps.some((id) => deps.has(id));
|
|
169
|
-
const hasClusterRef = allClusterAndNodeDeps.some((id) => propRefs.has(id));
|
|
170
|
-
|
|
171
|
-
if (!hasClusterDep && !hasClusterRef && eksClusterIds.length > 0) {
|
|
172
|
-
diagnostics.push({
|
|
173
|
-
checkId: "WAW030",
|
|
174
|
-
severity: "warning",
|
|
175
|
-
message: `EKS Addon "${addonId}" has no dependency on the Cluster or Nodegroup — the addon may fail if the cluster or nodes aren't ready yet. Add DependsOn.`,
|
|
176
|
-
entity: addonId,
|
|
177
|
-
lexicon: "aws",
|
|
178
|
-
});
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
// Pattern 8: EKS Nodegroup with hardcoded ClusterName but no dependency on Cluster
|
|
183
|
-
for (const ngId of eksNodegroupIds) {
|
|
184
|
-
const resource = resources[ngId];
|
|
185
|
-
const deps = getDependsOnSet(resource);
|
|
186
|
-
const propRefs = collectPropertyRefs(resource);
|
|
187
|
-
|
|
188
|
-
const hasClusterDep = eksClusterIds.some((id) => deps.has(id));
|
|
189
|
-
const hasClusterRef = eksClusterIds.some((id) => propRefs.has(id));
|
|
190
|
-
|
|
191
|
-
if (!hasClusterDep && !hasClusterRef && eksClusterIds.length > 0) {
|
|
192
|
-
diagnostics.push({
|
|
193
|
-
checkId: "WAW030",
|
|
194
|
-
severity: "warning",
|
|
195
|
-
message: `EKS Nodegroup "${ngId}" has no dependency on the Cluster — the node group may fail if the cluster isn't ready yet. Add DependsOn.`,
|
|
196
|
-
entity: ngId,
|
|
197
|
-
lexicon: "aws",
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
// Pattern 5 & 6: ScalableTarget with no DependsOn on the target resource
|
|
203
|
-
for (const entry of scalableTargetEntries) {
|
|
204
|
-
const resource = resources[entry.logicalId];
|
|
205
|
-
const deps = getDependsOnSet(resource);
|
|
206
|
-
const propRefs = collectPropertyRefs(resource);
|
|
207
|
-
|
|
208
|
-
if (entry.namespace === "dynamodb" && dynamoTableIds.length > 0) {
|
|
209
|
-
const hasTableDep = dynamoTableIds.some((id) => deps.has(id));
|
|
210
|
-
const hasTableRef = dynamoTableIds.some((id) => propRefs.has(id));
|
|
211
|
-
if (!hasTableDep && !hasTableRef) {
|
|
212
|
-
diagnostics.push({
|
|
213
|
-
checkId: "WAW030",
|
|
214
|
-
severity: "warning",
|
|
215
|
-
message: `ScalableTarget "${entry.logicalId}" targets DynamoDB but has no DependsOn on any Table — scaling registration may fail if the table doesn't exist yet`,
|
|
216
|
-
entity: entry.logicalId,
|
|
217
|
-
lexicon: "aws",
|
|
218
|
-
});
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
if (entry.namespace === "ecs" && ecsServiceIds.length > 0) {
|
|
223
|
-
const hasServiceDep = ecsServiceIds.some((id) => deps.has(id));
|
|
224
|
-
const hasServiceRef = ecsServiceIds.some((id) => propRefs.has(id));
|
|
225
|
-
if (!hasServiceDep && !hasServiceRef) {
|
|
226
|
-
diagnostics.push({
|
|
227
|
-
checkId: "WAW030",
|
|
228
|
-
severity: "warning",
|
|
229
|
-
message: `ScalableTarget "${entry.logicalId}" targets ECS but has no DependsOn on any ECS Service — scaling registration may fail if the service doesn't exist yet`,
|
|
230
|
-
entity: entry.logicalId,
|
|
231
|
-
lexicon: "aws",
|
|
232
|
-
});
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
return diagnostics;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
/** Infer the scaling namespace from a ScalableTarget's properties. */
|
|
242
|
-
function inferScalingNamespace(props: Record<string, unknown>): string | null {
|
|
243
|
-
if (typeof props.ServiceNamespace === "string") {
|
|
244
|
-
return props.ServiceNamespace;
|
|
245
|
-
}
|
|
246
|
-
if (typeof props.ScalableDimension === "string") {
|
|
247
|
-
const prefix = props.ScalableDimension.split(":")[0];
|
|
248
|
-
if (prefix) return prefix;
|
|
249
|
-
}
|
|
250
|
-
return null;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/** Extract DependsOn entries as a Set of strings. */
|
|
254
|
-
function getDependsOnSet(resource: { DependsOn?: string | string[] }): Set<string> {
|
|
255
|
-
if (!resource.DependsOn) return new Set();
|
|
256
|
-
const deps = Array.isArray(resource.DependsOn)
|
|
257
|
-
? resource.DependsOn
|
|
258
|
-
: [resource.DependsOn];
|
|
259
|
-
return new Set(deps.filter((d): d is string => typeof d === "string"));
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
/** Collect all Ref and Fn::GetAtt target logical IDs from resource properties. */
|
|
263
|
-
function collectPropertyRefs(resource: { Properties?: Record<string, unknown> }): Set<string> {
|
|
264
|
-
const refs = new Set<string>();
|
|
265
|
-
if (!resource.Properties) return refs;
|
|
266
|
-
|
|
267
|
-
function walk(value: unknown): void {
|
|
268
|
-
if (typeof value !== "object" || value === null) return;
|
|
269
|
-
if (Array.isArray(value)) {
|
|
270
|
-
for (const item of value) walk(item);
|
|
271
|
-
return;
|
|
272
|
-
}
|
|
273
|
-
const obj = value as Record<string, unknown>;
|
|
274
|
-
if ("Ref" in obj && typeof obj.Ref === "string") {
|
|
275
|
-
refs.add(obj.Ref);
|
|
276
|
-
}
|
|
277
|
-
if ("Fn::GetAtt" in obj) {
|
|
278
|
-
const getAtt = obj["Fn::GetAtt"];
|
|
279
|
-
if (Array.isArray(getAtt) && typeof getAtt[0] === "string") {
|
|
280
|
-
refs.add(getAtt[0]);
|
|
281
|
-
} else if (typeof getAtt === "string") {
|
|
282
|
-
// Dot-delimited form: "LogicalId.Attribute"
|
|
283
|
-
const logicalId = getAtt.split(".")[0];
|
|
284
|
-
if (logicalId) refs.add(logicalId);
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
for (const val of Object.values(obj)) walk(val);
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
walk(resource.Properties);
|
|
291
|
-
return refs;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
export const waw030: PostSynthCheck = {
|
|
295
|
-
id: "WAW030",
|
|
296
|
-
description: "Missing DependsOn for known CloudFormation ordering patterns",
|
|
297
|
-
|
|
298
|
-
check(ctx: PostSynthContext): PostSynthDiagnostic[] {
|
|
299
|
-
return checkMissingDependsOn(ctx);
|
|
300
|
-
},
|
|
301
|
-
};
|
|
@@ -1,273 +0,0 @@
|
|
|
1
|
-
import { describe, test, expect } from "vitest";
|
|
2
|
-
import { createPostSynthContext } from "@intentius/chant-test-utils";
|
|
3
|
-
import { waw031, checkAddonMissingRole } from "./waw031";
|
|
4
|
-
|
|
5
|
-
function makeCtx(template: object) {
|
|
6
|
-
return createPostSynthContext({ aws: template });
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
describe("WAW031: EKS Addon Missing ServiceAccountRoleArn", () => {
|
|
10
|
-
test("check metadata", () => {
|
|
11
|
-
expect(waw031.id).toBe("WAW031");
|
|
12
|
-
expect(waw031.description).toContain("ServiceAccountRoleArn");
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
// --- aws-ebs-csi-driver ---
|
|
16
|
-
|
|
17
|
-
test("EBS CSI addon without ServiceAccountRoleArn → warning", () => {
|
|
18
|
-
const ctx = makeCtx({
|
|
19
|
-
Resources: {
|
|
20
|
-
EbsCsi: {
|
|
21
|
-
Type: "AWS::EKS::Addon",
|
|
22
|
-
Properties: {
|
|
23
|
-
AddonName: "aws-ebs-csi-driver",
|
|
24
|
-
ClusterName: "my-cluster",
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
});
|
|
29
|
-
const diags = checkAddonMissingRole(ctx);
|
|
30
|
-
expect(diags).toHaveLength(1);
|
|
31
|
-
expect(diags[0].checkId).toBe("WAW031");
|
|
32
|
-
expect(diags[0].severity).toBe("warning");
|
|
33
|
-
expect(diags[0].message).toContain("EbsCsi");
|
|
34
|
-
expect(diags[0].message).toContain("aws-ebs-csi-driver");
|
|
35
|
-
expect(diags[0].message).toContain("IRSA");
|
|
36
|
-
expect(diags[0].entity).toBe("EbsCsi");
|
|
37
|
-
expect(diags[0].lexicon).toBe("aws");
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
test("EBS CSI addon with ServiceAccountRoleArn string → no diagnostic", () => {
|
|
41
|
-
const ctx = makeCtx({
|
|
42
|
-
Resources: {
|
|
43
|
-
EbsCsi: {
|
|
44
|
-
Type: "AWS::EKS::Addon",
|
|
45
|
-
Properties: {
|
|
46
|
-
AddonName: "aws-ebs-csi-driver",
|
|
47
|
-
ClusterName: "my-cluster",
|
|
48
|
-
ServiceAccountRoleArn: "arn:aws:iam::123456789012:role/ebs-csi-role",
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
});
|
|
53
|
-
const diags = checkAddonMissingRole(ctx);
|
|
54
|
-
expect(diags).toHaveLength(0);
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
test("EBS CSI addon with ServiceAccountRoleArn via GetAtt → no diagnostic", () => {
|
|
58
|
-
const ctx = makeCtx({
|
|
59
|
-
Resources: {
|
|
60
|
-
EbsCsi: {
|
|
61
|
-
Type: "AWS::EKS::Addon",
|
|
62
|
-
Properties: {
|
|
63
|
-
AddonName: "aws-ebs-csi-driver",
|
|
64
|
-
ClusterName: "my-cluster",
|
|
65
|
-
ServiceAccountRoleArn: { "Fn::GetAtt": ["EbsCsiRole", "Arn"] },
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
});
|
|
70
|
-
const diags = checkAddonMissingRole(ctx);
|
|
71
|
-
expect(diags).toHaveLength(0);
|
|
72
|
-
});
|
|
73
|
-
|
|
74
|
-
// --- aws-efs-csi-driver ---
|
|
75
|
-
|
|
76
|
-
test("EFS CSI addon without ServiceAccountRoleArn → warning", () => {
|
|
77
|
-
const ctx = makeCtx({
|
|
78
|
-
Resources: {
|
|
79
|
-
EfsCsi: {
|
|
80
|
-
Type: "AWS::EKS::Addon",
|
|
81
|
-
Properties: {
|
|
82
|
-
AddonName: "aws-efs-csi-driver",
|
|
83
|
-
ClusterName: "my-cluster",
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
},
|
|
87
|
-
});
|
|
88
|
-
const diags = checkAddonMissingRole(ctx);
|
|
89
|
-
expect(diags).toHaveLength(1);
|
|
90
|
-
expect(diags[0].message).toContain("aws-efs-csi-driver");
|
|
91
|
-
expect(diags[0].entity).toBe("EfsCsi");
|
|
92
|
-
});
|
|
93
|
-
|
|
94
|
-
// --- adot ---
|
|
95
|
-
|
|
96
|
-
test("ADOT addon without ServiceAccountRoleArn → warning", () => {
|
|
97
|
-
const ctx = makeCtx({
|
|
98
|
-
Resources: {
|
|
99
|
-
Adot: {
|
|
100
|
-
Type: "AWS::EKS::Addon",
|
|
101
|
-
Properties: {
|
|
102
|
-
AddonName: "adot",
|
|
103
|
-
ClusterName: "my-cluster",
|
|
104
|
-
},
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
});
|
|
108
|
-
const diags = checkAddonMissingRole(ctx);
|
|
109
|
-
expect(diags).toHaveLength(1);
|
|
110
|
-
expect(diags[0].message).toContain("adot");
|
|
111
|
-
expect(diags[0].entity).toBe("Adot");
|
|
112
|
-
});
|
|
113
|
-
|
|
114
|
-
test("ADOT addon with ServiceAccountRoleArn → no diagnostic", () => {
|
|
115
|
-
const ctx = makeCtx({
|
|
116
|
-
Resources: {
|
|
117
|
-
Adot: {
|
|
118
|
-
Type: "AWS::EKS::Addon",
|
|
119
|
-
Properties: {
|
|
120
|
-
AddonName: "adot",
|
|
121
|
-
ClusterName: "my-cluster",
|
|
122
|
-
ServiceAccountRoleArn: "arn:aws:iam::123456789012:role/adot-role",
|
|
123
|
-
},
|
|
124
|
-
},
|
|
125
|
-
},
|
|
126
|
-
});
|
|
127
|
-
const diags = checkAddonMissingRole(ctx);
|
|
128
|
-
expect(diags).toHaveLength(0);
|
|
129
|
-
});
|
|
130
|
-
|
|
131
|
-
// --- amazon-cloudwatch-observability ---
|
|
132
|
-
|
|
133
|
-
test("CloudWatch observability addon without ServiceAccountRoleArn → warning", () => {
|
|
134
|
-
const ctx = makeCtx({
|
|
135
|
-
Resources: {
|
|
136
|
-
CwObs: {
|
|
137
|
-
Type: "AWS::EKS::Addon",
|
|
138
|
-
Properties: {
|
|
139
|
-
AddonName: "amazon-cloudwatch-observability",
|
|
140
|
-
ClusterName: "my-cluster",
|
|
141
|
-
},
|
|
142
|
-
},
|
|
143
|
-
},
|
|
144
|
-
});
|
|
145
|
-
const diags = checkAddonMissingRole(ctx);
|
|
146
|
-
expect(diags).toHaveLength(1);
|
|
147
|
-
expect(diags[0].message).toContain("amazon-cloudwatch-observability");
|
|
148
|
-
expect(diags[0].entity).toBe("CwObs");
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
test("CloudWatch observability addon with ServiceAccountRoleArn → no diagnostic", () => {
|
|
152
|
-
const ctx = makeCtx({
|
|
153
|
-
Resources: {
|
|
154
|
-
CwObs: {
|
|
155
|
-
Type: "AWS::EKS::Addon",
|
|
156
|
-
Properties: {
|
|
157
|
-
AddonName: "amazon-cloudwatch-observability",
|
|
158
|
-
ClusterName: "my-cluster",
|
|
159
|
-
ServiceAccountRoleArn: { "Fn::GetAtt": ["CwObsRole", "Arn"] },
|
|
160
|
-
},
|
|
161
|
-
},
|
|
162
|
-
},
|
|
163
|
-
});
|
|
164
|
-
const diags = checkAddonMissingRole(ctx);
|
|
165
|
-
expect(diags).toHaveLength(0);
|
|
166
|
-
});
|
|
167
|
-
|
|
168
|
-
// --- Addons that don't require IRSA ---
|
|
169
|
-
|
|
170
|
-
test("vpc-cni addon without ServiceAccountRoleArn → no diagnostic", () => {
|
|
171
|
-
const ctx = makeCtx({
|
|
172
|
-
Resources: {
|
|
173
|
-
VpcCni: {
|
|
174
|
-
Type: "AWS::EKS::Addon",
|
|
175
|
-
Properties: {
|
|
176
|
-
AddonName: "vpc-cni",
|
|
177
|
-
ClusterName: "my-cluster",
|
|
178
|
-
},
|
|
179
|
-
},
|
|
180
|
-
},
|
|
181
|
-
});
|
|
182
|
-
const diags = checkAddonMissingRole(ctx);
|
|
183
|
-
expect(diags).toHaveLength(0);
|
|
184
|
-
});
|
|
185
|
-
|
|
186
|
-
test("coredns addon without ServiceAccountRoleArn → no diagnostic", () => {
|
|
187
|
-
const ctx = makeCtx({
|
|
188
|
-
Resources: {
|
|
189
|
-
CoreDns: {
|
|
190
|
-
Type: "AWS::EKS::Addon",
|
|
191
|
-
Properties: {
|
|
192
|
-
AddonName: "coredns",
|
|
193
|
-
ClusterName: "my-cluster",
|
|
194
|
-
},
|
|
195
|
-
},
|
|
196
|
-
},
|
|
197
|
-
});
|
|
198
|
-
const diags = checkAddonMissingRole(ctx);
|
|
199
|
-
expect(diags).toHaveLength(0);
|
|
200
|
-
});
|
|
201
|
-
|
|
202
|
-
test("kube-proxy addon without ServiceAccountRoleArn → no diagnostic", () => {
|
|
203
|
-
const ctx = makeCtx({
|
|
204
|
-
Resources: {
|
|
205
|
-
KubeProxy: {
|
|
206
|
-
Type: "AWS::EKS::Addon",
|
|
207
|
-
Properties: {
|
|
208
|
-
AddonName: "kube-proxy",
|
|
209
|
-
ClusterName: "my-cluster",
|
|
210
|
-
},
|
|
211
|
-
},
|
|
212
|
-
},
|
|
213
|
-
});
|
|
214
|
-
const diags = checkAddonMissingRole(ctx);
|
|
215
|
-
expect(diags).toHaveLength(0);
|
|
216
|
-
});
|
|
217
|
-
|
|
218
|
-
// --- Edge cases ---
|
|
219
|
-
|
|
220
|
-
test("multiple addons — only flags those requiring IRSA", () => {
|
|
221
|
-
const ctx = makeCtx({
|
|
222
|
-
Resources: {
|
|
223
|
-
VpcCni: {
|
|
224
|
-
Type: "AWS::EKS::Addon",
|
|
225
|
-
Properties: { AddonName: "vpc-cni", ClusterName: "c" },
|
|
226
|
-
},
|
|
227
|
-
EbsCsi: {
|
|
228
|
-
Type: "AWS::EKS::Addon",
|
|
229
|
-
Properties: { AddonName: "aws-ebs-csi-driver", ClusterName: "c" },
|
|
230
|
-
},
|
|
231
|
-
CoreDns: {
|
|
232
|
-
Type: "AWS::EKS::Addon",
|
|
233
|
-
Properties: { AddonName: "coredns", ClusterName: "c" },
|
|
234
|
-
},
|
|
235
|
-
},
|
|
236
|
-
});
|
|
237
|
-
const diags = checkAddonMissingRole(ctx);
|
|
238
|
-
expect(diags).toHaveLength(1);
|
|
239
|
-
expect(diags[0].entity).toBe("EbsCsi");
|
|
240
|
-
});
|
|
241
|
-
|
|
242
|
-
test("addon without AddonName property → no diagnostic", () => {
|
|
243
|
-
const ctx = makeCtx({
|
|
244
|
-
Resources: {
|
|
245
|
-
Mystery: {
|
|
246
|
-
Type: "AWS::EKS::Addon",
|
|
247
|
-
Properties: { ClusterName: "c" },
|
|
248
|
-
},
|
|
249
|
-
},
|
|
250
|
-
});
|
|
251
|
-
const diags = checkAddonMissingRole(ctx);
|
|
252
|
-
expect(diags).toHaveLength(0);
|
|
253
|
-
});
|
|
254
|
-
|
|
255
|
-
test("non-addon resource → no diagnostic", () => {
|
|
256
|
-
const ctx = makeCtx({
|
|
257
|
-
Resources: {
|
|
258
|
-
MyCluster: {
|
|
259
|
-
Type: "AWS::EKS::Cluster",
|
|
260
|
-
Properties: { Name: "my-cluster" },
|
|
261
|
-
},
|
|
262
|
-
},
|
|
263
|
-
});
|
|
264
|
-
const diags = checkAddonMissingRole(ctx);
|
|
265
|
-
expect(diags).toHaveLength(0);
|
|
266
|
-
});
|
|
267
|
-
|
|
268
|
-
test("empty Resources → no diagnostic", () => {
|
|
269
|
-
const ctx = makeCtx({ Resources: {} });
|
|
270
|
-
const diags = checkAddonMissingRole(ctx);
|
|
271
|
-
expect(diags).toHaveLength(0);
|
|
272
|
-
});
|
|
273
|
-
});
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WAW031: EKS Addon Missing ServiceAccountRoleArn
|
|
3
|
-
*
|
|
4
|
-
* Certain EKS addons require a ServiceAccountRoleArn (IRSA role) to function.
|
|
5
|
-
* Without one, the addon pods can't authenticate to AWS APIs and the addon
|
|
6
|
-
* hangs in CREATING status indefinitely.
|
|
7
|
-
*
|
|
8
|
-
* Known addons that require IRSA:
|
|
9
|
-
* - aws-ebs-csi-driver (needs EBS API access)
|
|
10
|
-
* - aws-efs-csi-driver (needs EFS API access)
|
|
11
|
-
* - adot (needs CloudWatch/X-Ray access)
|
|
12
|
-
* - amazon-cloudwatch-observability (needs CloudWatch access)
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import type { PostSynthCheck, PostSynthContext, PostSynthDiagnostic } from "@intentius/chant/lint/post-synth";
|
|
16
|
-
import { parseCFTemplate } from "./cf-refs";
|
|
17
|
-
|
|
18
|
-
/** Addons that are known to require a ServiceAccountRoleArn to function. */
|
|
19
|
-
const ADDONS_REQUIRING_IRSA: Record<string, string> = {
|
|
20
|
-
"aws-ebs-csi-driver": "EBS API access to manage volumes",
|
|
21
|
-
"aws-efs-csi-driver": "EFS API access to manage file systems",
|
|
22
|
-
"adot": "CloudWatch/X-Ray access for metrics and traces",
|
|
23
|
-
"amazon-cloudwatch-observability": "CloudWatch access for logs and metrics",
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export function checkAddonMissingRole(ctx: PostSynthContext): PostSynthDiagnostic[] {
|
|
27
|
-
const diagnostics: PostSynthDiagnostic[] = [];
|
|
28
|
-
|
|
29
|
-
for (const [_lexicon, output] of ctx.outputs) {
|
|
30
|
-
const template = parseCFTemplate(output);
|
|
31
|
-
if (!template?.Resources) continue;
|
|
32
|
-
|
|
33
|
-
for (const [logicalId, resource] of Object.entries(template.Resources)) {
|
|
34
|
-
if (resource.Type !== "AWS::EKS::Addon") continue;
|
|
35
|
-
|
|
36
|
-
const props = resource.Properties ?? {};
|
|
37
|
-
const addonName = typeof props.AddonName === "string" ? props.AddonName : null;
|
|
38
|
-
if (!addonName) continue;
|
|
39
|
-
|
|
40
|
-
const reason = ADDONS_REQUIRING_IRSA[addonName];
|
|
41
|
-
if (!reason) continue;
|
|
42
|
-
|
|
43
|
-
// Check if ServiceAccountRoleArn is set (could be a string, Ref, or GetAtt)
|
|
44
|
-
if (!props.ServiceAccountRoleArn) {
|
|
45
|
-
diagnostics.push({
|
|
46
|
-
checkId: "WAW031",
|
|
47
|
-
severity: "warning",
|
|
48
|
-
message: `EKS Addon "${logicalId}" (${addonName}) has no ServiceAccountRoleArn — it needs an IRSA role for ${reason}. Without it, the addon will hang in CREATING status.`,
|
|
49
|
-
entity: logicalId,
|
|
50
|
-
lexicon: "aws",
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
return diagnostics;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export const waw031: PostSynthCheck = {
|
|
60
|
-
id: "WAW031",
|
|
61
|
-
description: "EKS Addon missing ServiceAccountRoleArn for addons that require IRSA",
|
|
62
|
-
|
|
63
|
-
check(ctx: PostSynthContext): PostSynthDiagnostic[] {
|
|
64
|
-
return checkAddonMissingRole(ctx);
|
|
65
|
-
},
|
|
66
|
-
};
|