platform.engineering/awsofficialv0.1.17stableresource

AWS resource plugin (CloudControl-based)

installation
$formae plugin install aws

AWS Plugin for Formae

AWS resource plugin for formae. This plugin enables Formae to manage AWS resources using the AWS Cloud Control API.

Supported Resources

This plugin supports 246 AWS resource types across 28 services via the CloudControl API:

Service Resources Examples
EC2 96 VPC, Subnet, SecurityGroup, Instance, NATGateway, InternetGateway
RDS 18 DBInstance, DBCluster, DBSubnetGroup, OptionGroup
IAM 16 Role, Policy, User, Group, InstanceProfile, OIDCProvider
S3 11 Bucket, BucketPolicy, AccessPoint
Lambda 10 Function, LayerVersion, Permission, EventSourceMapping
API Gateway 8 RestApi, Resource, Method, Deployment, Stage
ECS 8 Cluster, Service, TaskDefinition, CapacityProvider
CloudFront 7 Distribution
EKS 7 Cluster, NodeGroup
ELBv2 7 LoadBalancer, TargetGroup, Listener, ListenerRule
Route53 7 HostedZone, RecordSet, HealthCheck
ECR 6 Repository, RegistryPolicy, ReplicationConfiguration
App Runner 5 Service, VpcConnector, AutoScalingConfiguration
Elastic Beanstalk 4 Application, Environment, ConfigurationTemplate
Network Firewall 4 Firewall, FirewallPolicy, RuleGroup
SES 4 EmailIdentity, ConfigurationSet, ReceiptRule
SageMaker 4 Domain, UserProfile, Endpoint
Secrets Manager 4 Secret, ResourcePolicy, RotationSchedule
EFS 3 FileSystem, MountTarget, AccessPoint
EventBridge 3 Rule, EventBus, Connection
SQS 3 Queue, QueuePolicy
CodeBuild 2 Project, ImageBuild
DynamoDB 2 Table, GlobalTable
KMS 2 Key, Alias
Service Discovery 2 PrivateDnsNamespace, Service
Certificate Manager 1 Certificate
CloudTrail 1 Trail
Logs 1 LogGroup

See schema/pkl/ for the complete list of supported resource types.

Configuration

Target Configuration

Configure an AWS target in your Forma file:

import "@formae/formae.pkl"
import "@aws/aws.pkl"

target: formae.Target = new formae.Target {
  label = "aws-target"
  config = new aws.Config {
    region = "us-east-1"
    // Optional: specify a named profile
    // profile = "my-profile"
  }
}

Credentials

The plugin uses the standard AWS credential chain. Configure credentials using one of:

Environment Variables:

export AWS_ACCESS_KEY_ID="your-access-key"
export AWS_SECRET_ACCESS_KEY="your-secret-key"
export AWS_REGION="us-east-1"

# For temporary credentials (e.g., from STS AssumeRole)
export AWS_SESSION_TOKEN="your-session-token"

Named Profile:

# Use a profile from ~/.aws/credentials
export AWS_PROFILE="my-profile"

IAM Instance Profile / ECS Task Role: When running on EC2 or ECS, credentials are automatically retrieved from the instance metadata service.

OIDC (for CI/CD): See .github/workflows/ci.yml for an example using GitHub Actions OIDC with aws-actions/configure-aws-credentials.

Examples

See the examples/ directory for usage examples.

# Evaluate an example
formae eval examples/complete/lifeline/basic_infrastructure.pkl

# Apply resources
formae apply --mode reconcile --watch examples/complete/lifeline/basic_infrastructure.pkl

License

This plugin is licensed under the Functional Source License, Version 1.1, ALv2 Future License (FSL-1.1-ALv2).

Copyright 2026 Platform Engineering Labs Inc.

type
resource
category
cloud
license
FSL-1.1-ALv2
originator
platform.engineering
namespace
AWS
latest
v0.1.17 · stable
platforms
repo
github.com/platform-engineering-labs/formae-plugin-aws
versions (50)
v0.1.18-dev.1dev
2026-09-21
v0.1.18-dev.0dev
2026-09-10
v0.1.17stable
2026-09-07
v0.1.17-dev.14dev
2026-09-05
v0.1.17-dev.13dev
2026-09-05
v0.1.17-dev.12dev
2026-09-03
v0.1.17-dev.11dev
2026-09-02
v0.1.17-dev.10dev
2026-09-01
v0.1.17-dev.9dev
2026-09-01
v0.1.17-dev.8dev
2026-08-23
v0.1.17-dev.7dev
2026-08-22
v0.1.17-dev.6dev
2026-08-14
v0.1.17-dev.5dev
2026-08-11
v0.1.17-dev.4dev
2026-08-09
v0.1.17-dev.3dev
2026-08-09
v0.1.17-dev.2dev
2026-08-07
v0.1.17-dev.1dev
2026-08-02
v0.1.17-dev.0dev
2026-07-30
v0.1.16stable
2026-07-27
v0.1.15stable
2026-07-25
v0.1.15-dev.0dev
2026-07-25
v0.1.14stable
2026-07-17
v0.1.13stable
2026-07-01
v0.1.13-dev.7dev
2026-06-30
v0.1.13-dev.6dev
2026-06-29
v0.1.13-dev.5dev
2026-06-28
v0.1.13-dev.4dev
2026-06-28
v0.1.13-dev.3dev
2026-06-28
v0.1.13-dev.2dev
2026-06-28
v0.1.13-dev.1dev
2026-06-27
v0.1.13-dev.0dev
2026-06-26
v0.1.12stable
2026-06-24
v0.1.12-dev.4dev
2026-06-16
v0.1.12-dev.3dev
2026-06-16
v0.1.12-dev.2dev
2026-06-15
v0.1.12-dev.1dev
2026-06-15
v0.1.12-dev.0dev
2026-06-14
v0.1.11stable
2026-06-06
v0.1.11-dev.12dev
2026-06-05
v0.1.11-dev.11dev
2026-06-05
v0.1.11-dev.10dev
2026-06-05
v0.1.11-dev.9dev
2026-06-05
v0.1.11-dev.8dev
2026-06-04
v0.1.11-dev.7dev
2026-06-04
v0.1.11-dev.6dev
2026-06-03
v0.1.11-dev.5dev
2026-06-03
v0.1.11-dev.4dev
2026-06-03
v0.1.11-dev.3dev
2026-05-30
v0.1.11-dev.2dev
2026-05-30
v0.1.11-dev.1dev
2026-05-29