Skip to content

Cloud Control API ​

Parity grade: A · SDK aws-sdk-go-v2/service/cloudcontrol@v1.38.3 · last audited 2026-10-11 (d79e0612c)

Category: Management & Governance · View PARITY.md on GitHub · All Services

Parity & Coverage ​

MetricValue
PARITY entries audited8 (8 ok)
Feature families3 (3 ok)
Known gaps2
Structural gaps (can't be emulated)3
Deferred items0
Resource leaksclean

Known Gaps ​

  • Stack-engine-provisioned types (every CloudFormation-provisionable AWS:: type without a delegated handler): GetResource returns the submitted model without backend-computed read-only or primary-identifier properties, and UpdateResource is in place only for Lambda Function, SQS Queue and StepFunctions StateMachine, any other change being NotUpdatableException; both need per-type schema metadata (readOnlyProperties, primaryIdentifier, createOnlyProperties) that the repo does not carry, and cloudformation getResourceAttribute falls back to the physical ID for attributes it does not model (template.go:1647), so merging it into the model would fabricate values.
  • Delegated-type properties still rejected: EC2 VPC Ipv4IpamPoolId/Ipv4NetmaskLength (the EC2 CreateVpc handler has no IPAM allocation, services/ec2/handler_vpcs.go), RestApi BodyS3Location, CloudWatch Alarm EvaluationCriteria/EvaluationInterval (the cloudwatch backend has no PromQL alarm engine).

Structural Gaps ​

These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.

  • TypeNotFoundException is unreachable: whether a TypeName is registered is an account-specific, mutable CloudFormation registry fact; any allowlist here would be incomplete and reject valid types (gopherstack-c9yf).
  • TypeVersionId is accepted and ignored: there is no private-type-version registry to select between (gopherstack-xhu2t). chaos_coverage: # errors reachable via pkgs/chaos fault injection rather than backend logic — verified, not a gap
  • The remaining 12 documented-but-unreachable exceptions from gopherstack-c9yf (ThrottlingException, ServiceLimitExceededException, HandlerFailureException, NotStabilizedException, NotUpdatableException, ResourceConflictException, PrivateTypeException, GeneralServiceException, NetworkFailureException, InvalidCredentialsException, HandlerInternalFailureException, ConcurrentOperationException) are ALREADY COVERED by pkgs/chaos, not a gap needing backend code. Verified concretely: Handler implements service.ChaosProvider (ChaosServiceName()=="cloudcontrol", ChaosOperations()==GetSupportedOperations(), ChaosRegions()), so it is enumerated by GET /_gopherstack/chaos/targets. The chaos middleware (pkgs/chaos/middleware.go) runs as global Echo middleware registered via registry.Use(chaos.Middleware(...)) (internal/app/cli.go:5754) OUTSIDE/BEFORE any service's own routing, and extracts service+operation from the same SigV4 Authorization header + X-Amz-Target header this service's own RouteMatcher/ExtractOperation already rely on (cloudcontrol is awsjson1.0 with X-Amz-Target: CloudApiService.<Op>, so extractOperationFromRequest's X-Amz-Target-after-the-dot parsing resolves the exact operation name, e.g. "CreateResource") -- so a fault rule {service: "cloudcontrol", operation: "CreateResource", error: {code: "ThrottlingException", statusCode: 400}} deterministically short-circuits that op with an arbitrary injected Code+StatusCode (FaultError carries both, pkgs/chaos/fault_response.go) before this handler ever runs. Synthesizing these from backend state instead (e.g. fabricating a request-rate counter under a single coarse lock with no real concurrency contention) would be exactly the kind of invented signal this project's honesty rules forbid; fault injection is the correct, non-fabricated mechanism for exceptions AWS only returns under real infrastructure conditions this emulator doesn't have.

Audited Operations ​

8 audited operations
OperationWireErrorsStatePersist
CreateResourceokokokok
GetResourceokokokok
UpdateResourceokokokok
DeleteResourceokokokok
ListResourcesokokokok
GetResourceRequestStatusokokokok
CancelResourceRequestokokokok
ListResourceRequestsokokokok

Audited Feature Families ​

Feature FamilyStatus
progress_event_lifecycleok
persistenceok
client_token_idempotencyok

Released under the MIT License.