infra-foundry 1.2.0 → 1.3.0

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.
@@ -0,0 +1,12 @@
1
+ import { apprunner } from '@pulumi/aws';
2
+ import { ComponentResource, ComponentResourceOptions, Output } from '@pulumi/pulumi';
3
+ import { AppRunnerServiceArgs } from './types';
4
+ export declare class AppRunnerService extends ComponentResource {
5
+ readonly service: apprunner.Service;
6
+ readonly serviceUrl: Output<string>;
7
+ readonly serviceArn: Output<string>;
8
+ constructor({ name, env, secrets, port, tags, ...args }: AppRunnerServiceArgs, opts?: ComponentResourceOptions);
9
+ private buildHealthCheckConfig;
10
+ private setupCustomDomain;
11
+ }
12
+ //# sourceMappingURL=component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/app-runner/component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAW,MAAM,aAAa,CAAA;AAChD,OAAO,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAGpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAE9C,qBAAa,gBAAiB,SAAQ,iBAAiB;IACrD,SAAgB,OAAO,EAAE,SAAS,CAAC,OAAO,CAAA;IAC1C,SAAgB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,CAAA;IAC1C,SAAgB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,CAAA;gBAGxC,EAAE,IAAI,EAAE,GAAQ,EAAE,OAAY,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,EAAE,oBAAoB,EAC3E,IAAI,CAAC,EAAE,wBAAwB;IAyDjC,OAAO,CAAC,sBAAsB;IAW9B,OAAO,CAAC,iBAAiB;CA4C1B"}
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AppRunnerService = void 0;
4
+ const aws_1 = require("@pulumi/aws");
5
+ const pulumi_1 = require("@pulumi/pulumi");
6
+ const iam_1 = require("./iam");
7
+ class AppRunnerService extends pulumi_1.ComponentResource {
8
+ constructor({ name, env = {}, secrets = {}, port, tags, ...args }, opts) {
9
+ var _a, _b, _c, _d, _e, _f, _g, _h;
10
+ super('infra-foundry:app-runner:AppRunnerService', name, {}, opts);
11
+ const asc = new aws_1.apprunner.AutoScalingConfigurationVersion(`${name}-asc`, {
12
+ autoScalingConfigurationName: `${name}-asc`,
13
+ maxConcurrency: (_b = (_a = args.autoscaling) === null || _a === void 0 ? void 0 : _a.maxConcurrency) !== null && _b !== void 0 ? _b : 100,
14
+ maxSize: (_d = (_c = args.autoscaling) === null || _c === void 0 ? void 0 : _c.maxSize) !== null && _d !== void 0 ? _d : 3,
15
+ minSize: (_f = (_e = args.autoscaling) === null || _e === void 0 ? void 0 : _e.minSize) !== null && _f !== void 0 ? _f : 1,
16
+ tags,
17
+ }, { parent: this });
18
+ this.service = new aws_1.apprunner.Service(`${name}-svc`, {
19
+ serviceName: name,
20
+ autoScalingConfigurationArn: asc.arn,
21
+ healthCheckConfiguration: this.buildHealthCheckConfig(args.healthCheckPath),
22
+ instanceConfiguration: {
23
+ cpu: `${(_g = args.cpu) !== null && _g !== void 0 ? _g : '0.5'} vCPU`,
24
+ memory: `${(_h = args.memory) !== null && _h !== void 0 ? _h : 1} GB`,
25
+ },
26
+ observabilityConfiguration: { observabilityEnabled: false },
27
+ sourceConfiguration: {
28
+ authenticationConfiguration: { accessRoleArn: (0, iam_1.createAccessRole)(name, tags, this) },
29
+ imageRepository: {
30
+ imageIdentifier: args.image,
31
+ imageRepositoryType: 'ECR',
32
+ imageConfiguration: {
33
+ port,
34
+ runtimeEnvironmentVariables: env,
35
+ runtimeEnvironmentSecrets: secrets,
36
+ },
37
+ },
38
+ },
39
+ tags,
40
+ }, { parent: this });
41
+ this.serviceArn = this.service.arn;
42
+ this.serviceUrl = this.service.serviceUrl;
43
+ if (args.domainName && args.route53ZoneId) {
44
+ this.setupCustomDomain(args.domainName, args.route53ZoneId, name, this.serviceArn);
45
+ }
46
+ this.registerOutputs({
47
+ serviceArn: this.serviceArn,
48
+ serviceUrl: this.serviceUrl,
49
+ });
50
+ }
51
+ buildHealthCheckConfig(path) {
52
+ return {
53
+ path,
54
+ timeout: 10,
55
+ interval: 10,
56
+ protocol: 'HTTP',
57
+ healthyThreshold: 1,
58
+ unhealthyThreshold: 1,
59
+ };
60
+ }
61
+ setupCustomDomain(domain, route53ZoneId, name, serviceArn) {
62
+ const assoc = new aws_1.apprunner.CustomDomainAssociation(`${name}-domain`, {
63
+ domainName: domain,
64
+ serviceArn,
65
+ }, { parent: this });
66
+ assoc.certificateValidationRecords.apply((recs) => {
67
+ return recs.map((r, i) => new aws_1.route53.Record(`${name}-val-${i}`, {
68
+ name: r.name,
69
+ type: r.type,
70
+ zoneId: route53ZoneId,
71
+ records: [r.value],
72
+ ttl: 60,
73
+ }, { parent: assoc }));
74
+ });
75
+ new aws_1.route53.Record(`${name}-alias`, {
76
+ name: domain,
77
+ type: 'CNAME',
78
+ zoneId: route53ZoneId,
79
+ records: [this.serviceUrl],
80
+ ttl: 60,
81
+ }, { parent: assoc });
82
+ }
83
+ }
84
+ exports.AppRunnerService = AppRunnerService;
85
+ //# sourceMappingURL=component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.js","sourceRoot":"","sources":["../../src/app-runner/component.ts"],"names":[],"mappings":";;;AAAA,qCAAgD;AAChD,2CAAoF;AAEpF,+BAAwC;AAGxC,MAAa,gBAAiB,SAAQ,0BAAiB;IAKrD,YACE,EAAE,IAAI,EAAE,GAAG,GAAG,EAAE,EAAE,OAAO,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,EAAwB,EAC3E,IAA+B;;QAE/B,KAAK,CAAC,2CAA2C,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,CAAA;QAElE,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,CAAC;gBAClB,GAAG,EAAE,EAAE;aACR,EACD,EAAE,MAAM,EAAE,KAAK,EAAE,CAClB,CACJ,CAAA;QACH,CAAC,CAAC,CAAA;QAEF,IAAI,aAAO,CAAC,MAAM,CAChB,GAAG,IAAI,QAAQ,EACf;YACE,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,aAAa;YACrB,OAAO,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC;YAC1B,GAAG,EAAE,EAAE;SACR,EACD,EAAE,MAAM,EAAE,KAAK,EAAE,CAClB,CAAA;IACH,CAAC;CACF;AAvHD,4CAuHC"}
@@ -0,0 +1,4 @@
1
+ import { ComponentResource, Output } from '@pulumi/pulumi';
2
+ import { AppRunnerServiceArgs } from './types';
3
+ export declare function createAccessRole(name: string, tags: AppRunnerServiceArgs['tags'], parent: ComponentResource): Output<string>;
4
+ //# sourceMappingURL=iam.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iam.d.ts","sourceRoot":"","sources":["../../src/app-runner/iam.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAE1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAE9C,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,oBAAoB,CAAC,MAAM,CAAC,EAClC,MAAM,EAAE,iBAAiB,GACxB,MAAM,CAAC,MAAM,CAAC,CA0ChB"}
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createAccessRole = createAccessRole;
4
+ const aws_1 = require("@pulumi/aws");
5
+ function createAccessRole(name, tags, parent) {
6
+ const accessRole = new aws_1.iam.Role(`${name}-apprunner-access`, {
7
+ assumeRolePolicy: aws_1.iam.assumeRolePolicyForPrincipal({
8
+ Service: 'build.apprunner.amazonaws.com',
9
+ }),
10
+ tags,
11
+ }, { parent });
12
+ const defaultEcrPolicy = {
13
+ Version: '2012-10-17',
14
+ Statement: [
15
+ { Action: ['ecr:GetAuthorizationToken'], Effect: 'Allow', Resource: '*' },
16
+ {
17
+ Action: [
18
+ 'ecr:BatchCheckLayerAvailability',
19
+ 'ecr:GetDownloadUrlForLayer',
20
+ 'ecr:BatchGetImage',
21
+ 'ecr:GetRepositoryPolicy',
22
+ 'ecr:DescribeRepositories',
23
+ 'ecr:ListImages',
24
+ 'ecr:DescribeImages',
25
+ ],
26
+ Effect: 'Allow',
27
+ Resource: '*',
28
+ },
29
+ ],
30
+ };
31
+ new aws_1.iam.RolePolicy(`${name}-apprunner-access-policy`, {
32
+ role: accessRole.id,
33
+ policy: JSON.stringify(defaultEcrPolicy),
34
+ }, { parent });
35
+ return accessRole.arn;
36
+ }
37
+ //# sourceMappingURL=iam.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iam.js","sourceRoot":"","sources":["../../src/app-runner/iam.ts"],"names":[],"mappings":";;AAKA,4CA8CC;AAnDD,qCAAiC;AAKjC,SAAgB,gBAAgB,CAC9B,IAAY,EACZ,IAAkC,EAClC,MAAyB;IAEzB,MAAM,UAAU,GAAG,IAAI,SAAG,CAAC,IAAI,CAC7B,GAAG,IAAI,mBAAmB,EAC1B;QACE,gBAAgB,EAAE,SAAG,CAAC,4BAA4B,CAAC;YACjD,OAAO,EAAE,+BAA+B;SACzC,CAAC;QACF,IAAI;KACL,EACD,EAAE,MAAM,EAAE,CACX,CAAA;IAED,MAAM,gBAAgB,GAAG;QACvB,OAAO,EAAE,YAAY;QACrB,SAAS,EAAE;YACT,EAAE,MAAM,EAAE,CAAC,2BAA2B,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE;YACzE;gBACE,MAAM,EAAE;oBACN,iCAAiC;oBACjC,4BAA4B;oBAC5B,mBAAmB;oBACnB,yBAAyB;oBACzB,0BAA0B;oBAC1B,gBAAgB;oBAChB,oBAAoB;iBACrB;gBACD,MAAM,EAAE,OAAO;gBACf,QAAQ,EAAE,GAAG;aACd;SACF;KACF,CAAA;IAED,IAAI,SAAG,CAAC,UAAU,CAChB,GAAG,IAAI,0BAA0B,EACjC;QACE,IAAI,EAAE,UAAU,CAAC,EAAE;QACnB,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC;KACzC,EACD,EAAE,MAAM,EAAE,CACX,CAAA;IAED,OAAO,UAAU,CAAC,GAAG,CAAA;AACvB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './component';
2
+ export * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app-runner/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./component"), exports);
18
+ __exportStar(require("./types"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/app-runner/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,0CAAuB"}
@@ -0,0 +1,28 @@
1
+ import { Input } from '@pulumi/pulumi';
2
+ export interface AppRunnerServiceArgs {
3
+ name: string;
4
+ image: Input<string>;
5
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4;
6
+ memory?: 0.5 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 10 | 12;
7
+ port: string;
8
+ healthCheckPath: Input<string>;
9
+ env?: Record<string, Input<string>>;
10
+ secrets?: Record<string, Input<string>>;
11
+ instanceRole?: {
12
+ attachPolicyArns?: Input<string>[];
13
+ inlinePolicyJson?: Input<string>;
14
+ };
15
+ autoscaling?: {
16
+ minSize?: Input<number>;
17
+ maxSize?: Input<number>;
18
+ maxConcurrency?: Input<number>;
19
+ };
20
+ vpc?: {
21
+ subnetIds: Input<string>[];
22
+ securityGroupIds: Input<string>[];
23
+ };
24
+ domainName?: string;
25
+ route53ZoneId?: Input<string>;
26
+ tags?: Record<string, Input<string>>;
27
+ }
28
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/app-runner/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAEtC,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAEpB,GAAG,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;IAC5B,MAAM,CAAC,EAAE,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,CAAA;IAEtD,IAAI,EAAE,MAAM,CAAA;IACZ,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAE9B,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAA;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAA;IAEvC,YAAY,CAAC,EAAE;QACb,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,CAAA;QAClC,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;KACjC,CAAA;IAED,WAAW,CAAC,EAAE;QACZ,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;QACvB,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;QACvB,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;KAC/B,CAAA;IAED,GAAG,CAAC,EAAE;QACJ,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,CAAA;QAC1B,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,CAAA;KAClC,CAAA;IAED,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAE7B,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAA;CACrC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/app-runner/types.ts"],"names":[],"mappings":""}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * as appRunner from './app-runner';
1
2
  export * as rds from './rds';
2
3
  export * as amplify from './amplify';
3
4
  export * as vercel from './vercel';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,O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AA;AAC5B,OAAO,KAAK,GAAG,MAAM,OAAO,CAAA;AAC5B,OAAO,KAAK,KAAK,MAAM,SAAS,CAAA;AAChC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA;AAElC,OAAO,KAAK,WAAW,MAAM,gBAAgB,CAAA;AAC7C,OAAO,KAAK,gBAAgB,MAAM,qBAAqB,CAAA;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA"}
package/dist/index.js CHANGED
@@ -33,7 +33,8 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.context = exports.commonTags = exports.addEnvSuffix = exports.EnvironmentUtils = exports.domainUtils = exports.secret = exports.image = exports.ecr = exports.vpc = exports.ecs = exports.ses = exports.route53 = exports.s3 = exports.cloudflare = exports.vercel = exports.amplify = exports.rds = void 0;
36
+ exports.context = exports.commonTags = exports.addEnvSuffix = exports.EnvironmentUtils = exports.domainUtils = exports.secret = exports.image = exports.ecr = exports.vpc = exports.ecs = exports.ses = exports.route53 = exports.s3 = exports.cloudflare = exports.vercel = exports.amplify = exports.rds = exports.appRunner = void 0;
37
+ exports.appRunner = __importStar(require("./app-runner"));
37
38
  exports.rds = __importStar(require("./rds"));
38
39
  exports.amplify = __importStar(require("./amplify"));
39
40
  exports.vercel = __importStar(require("./vercel"));
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA4B;AAC5B,qDAAoC;AACpC,mDAAkC;AAClC,2DAA0C;AAC1C,2CAA0B;AAC1B,qDAAoC;AACpC,6CAA4B;AAC5B,6CAA4B;AAC5B,6CAA4B;AAC5B,6CAA4B;AAC5B,iDAAgC;AAChC,mDAAkC;AAElC,8DAA6C;AAC7C,wEAAuD;AAEvD,qDAAmD;AAA1C,4GAAA,YAAY,OAAA;AACrB,iDAA+C;AAAtC,wGAAA,UAAU,OAAA;AACnB,2CAAkD;AAAhC,kGAAA,OAAO,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAAyC;AACzC,6CAA4B;AAC5B,qDAAoC;AACpC,mDAAkC;AAClC,2DAA0C;AAC1C,2CAA0B;AAC1B,qDAAoC;AACpC,6CAA4B;AAC5B,6CAA4B;AAC5B,6CAA4B;AAC5B,6CAA4B;AAC5B,iDAAgC;AAChC,mDAAkC;AAElC,8DAA6C;AAC7C,wEAAuD;AAEvD,qDAAmD;AAA1C,4GAAA,YAAY,OAAA;AACrB,iDAA+C;AAAtC,wGAAA,UAAU,OAAA;AACnB,2CAAkD;AAAhC,kGAAA,OAAO,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infra-foundry",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Production-ready cloud infrastructure components for modern applications, built with TypeScript and Pulumi.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",