terraform-cdk-serverless-github-actions-runner-controller 0.0.2 → 0.0.3
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/.jsii +128 -5
- package/API.md +74 -1
- package/biome.jsonc +66 -0
- package/lib/lib/aws.d.ts +16 -1
- package/lib/lib/aws.js +275 -280
- package/lib/lib/azure.d.ts +1 -1
- package/lib/lib/azure.js +105 -130
- package/lib/lib/gcp.d.ts +1 -1
- package/lib/lib/gcp.js +46 -48
- package/lib/lib/variables.d.ts +3 -2
- package/lib/lib/variables.js +11 -5
- package/lib/tfModules.js +40 -10
- package/modules/azure-container-apps/README.md +2 -1
- package/modules/azure-container-apps/cdk.tf.json +10 -6
- package/modules/elastic-container-service/README.md +25 -24
- package/modules/elastic-container-service/cdk.tf.json +64 -74
- package/modules/google-cloud-run/README.md +18 -17
- package/modules/google-cloud-run/cdk.tf.json +10 -6
- package/package.json +16 -69
- package/renovate.json5 +42 -0
- package/vitest.config.ts +28 -0
- package/lib/__tests__/index-test.d.ts +0 -1
- package/lib/__tests__/index-test.js +0 -26
- package/main.tf +0 -26
- package/scripts/collect-variables.ts +0 -188
- package/variables.tf +0 -27
package/.jsii
CHANGED
@@ -1106,6 +1106,7 @@
|
|
1106
1106
|
"@cdktf/provider-aws.ec2ClientVpnEndpoint": {},
|
1107
1107
|
"@cdktf/provider-aws.ec2ClientVpnNetworkAssociation": {},
|
1108
1108
|
"@cdktf/provider-aws.ec2ClientVpnRoute": {},
|
1109
|
+
"@cdktf/provider-aws.ec2DefaultCreditSpecification": {},
|
1109
1110
|
"@cdktf/provider-aws.ec2Fleet": {},
|
1110
1111
|
"@cdktf/provider-aws.ec2Host": {},
|
1111
1112
|
"@cdktf/provider-aws.ec2ImageBlockPublicAccess": {},
|
@@ -3698,6 +3699,7 @@
|
|
3698
3699
|
"@cdktf/provider-google.apigeeKeystoresAliasesSelfSignedCert": {},
|
3699
3700
|
"@cdktf/provider-google.apigeeNatAddress": {},
|
3700
3701
|
"@cdktf/provider-google.apigeeOrganization": {},
|
3702
|
+
"@cdktf/provider-google.apigeeSecurityProfileV2": {},
|
3701
3703
|
"@cdktf/provider-google.apigeeSharedflow": {},
|
3702
3704
|
"@cdktf/provider-google.apigeeSharedflowDeployment": {},
|
3703
3705
|
"@cdktf/provider-google.apigeeSyncAuthorization": {},
|
@@ -3780,6 +3782,8 @@
|
|
3780
3782
|
"@cdktf/provider-google.bigtableInstanceIamBinding": {},
|
3781
3783
|
"@cdktf/provider-google.bigtableInstanceIamMember": {},
|
3782
3784
|
"@cdktf/provider-google.bigtableInstanceIamPolicy": {},
|
3785
|
+
"@cdktf/provider-google.bigtableLogicalView": {},
|
3786
|
+
"@cdktf/provider-google.bigtableMaterializedView": {},
|
3783
3787
|
"@cdktf/provider-google.bigtableTable": {},
|
3784
3788
|
"@cdktf/provider-google.bigtableTableIamBinding": {},
|
3785
3789
|
"@cdktf/provider-google.bigtableTableIamMember": {},
|
@@ -3964,6 +3968,8 @@
|
|
3964
3968
|
"@cdktf/provider-google.computeRegionNetworkFirewallPolicyAssociation": {},
|
3965
3969
|
"@cdktf/provider-google.computeRegionNetworkFirewallPolicyRule": {},
|
3966
3970
|
"@cdktf/provider-google.computeRegionPerInstanceConfig": {},
|
3971
|
+
"@cdktf/provider-google.computeRegionSecurityPolicy": {},
|
3972
|
+
"@cdktf/provider-google.computeRegionSecurityPolicyRule": {},
|
3967
3973
|
"@cdktf/provider-google.computeRegionSslCertificate": {},
|
3968
3974
|
"@cdktf/provider-google.computeRegionSslPolicy": {},
|
3969
3975
|
"@cdktf/provider-google.computeRegionTargetHttpProxy": {},
|
@@ -4273,6 +4279,7 @@
|
|
4273
4279
|
"@cdktf/provider-google.dataGoogleLoggingProjectCmekSettings": {},
|
4274
4280
|
"@cdktf/provider-google.dataGoogleLoggingProjectSettings": {},
|
4275
4281
|
"@cdktf/provider-google.dataGoogleLoggingSink": {},
|
4282
|
+
"@cdktf/provider-google.dataGoogleMemcacheInstance": {},
|
4276
4283
|
"@cdktf/provider-google.dataGoogleMemorystoreInstance": {},
|
4277
4284
|
"@cdktf/provider-google.dataGoogleMonitoringAppEngineService": {},
|
4278
4285
|
"@cdktf/provider-google.dataGoogleMonitoringClusterIstioService": {},
|
@@ -4817,6 +4824,7 @@
|
|
4817
4824
|
"@cdktf/provider-google.osConfigOsPolicyAssignment": {},
|
4818
4825
|
"@cdktf/provider-google.osConfigPatchDeployment": {},
|
4819
4826
|
"@cdktf/provider-google.osConfigV2PolicyOrchestrator": {},
|
4827
|
+
"@cdktf/provider-google.osConfigV2PolicyOrchestratorForFolder": {},
|
4820
4828
|
"@cdktf/provider-google.osConfigV2PolicyOrchestratorForOrganization": {},
|
4821
4829
|
"@cdktf/provider-google.osLoginSshPublicKey": {},
|
4822
4830
|
"@cdktf/provider-google.parallelstoreInstance": {},
|
@@ -5200,7 +5208,7 @@
|
|
5200
5208
|
"stability": "stable"
|
5201
5209
|
},
|
5202
5210
|
"homepage": "https://github.com/Hi-Fi/terraform-cdk-serverless-github-actions-runner-controller.git",
|
5203
|
-
"jsiiVersion": "5.6.
|
5211
|
+
"jsiiVersion": "5.6.19 (build 73f2485)",
|
5204
5212
|
"keywords": [
|
5205
5213
|
"cdk",
|
5206
5214
|
"cdktf",
|
@@ -5244,7 +5252,7 @@
|
|
5244
5252
|
},
|
5245
5253
|
"locationInModule": {
|
5246
5254
|
"filename": "src/lib/aws.ts",
|
5247
|
-
"line":
|
5255
|
+
"line": 45
|
5248
5256
|
},
|
5249
5257
|
"parameters": [
|
5250
5258
|
{
|
@@ -5258,17 +5266,132 @@
|
|
5258
5266
|
"type": {
|
5259
5267
|
"primitive": "string"
|
5260
5268
|
}
|
5269
|
+
},
|
5270
|
+
{
|
5271
|
+
"name": "props",
|
5272
|
+
"type": {
|
5273
|
+
"fqn": "terraform-cdk-serverless-github-actions-runner-controller.AwsProps"
|
5274
|
+
}
|
5261
5275
|
}
|
5262
5276
|
]
|
5263
5277
|
},
|
5264
5278
|
"kind": "class",
|
5265
5279
|
"locationInModule": {
|
5266
5280
|
"filename": "src/lib/aws.ts",
|
5267
|
-
"line":
|
5281
|
+
"line": 44
|
5268
5282
|
},
|
5269
5283
|
"name": "Aws",
|
5270
5284
|
"symbolId": "src/lib/aws:Aws"
|
5271
5285
|
},
|
5286
|
+
"terraform-cdk-serverless-github-actions-runner-controller.AwsProps": {
|
5287
|
+
"assembly": "terraform-cdk-serverless-github-actions-runner-controller",
|
5288
|
+
"datatype": true,
|
5289
|
+
"docs": {
|
5290
|
+
"stability": "stable"
|
5291
|
+
},
|
5292
|
+
"fqn": "terraform-cdk-serverless-github-actions-runner-controller.AwsProps",
|
5293
|
+
"kind": "interface",
|
5294
|
+
"locationInModule": {
|
5295
|
+
"filename": "src/lib/aws.ts",
|
5296
|
+
"line": 29
|
5297
|
+
},
|
5298
|
+
"name": "AwsProps",
|
5299
|
+
"properties": [
|
5300
|
+
{
|
5301
|
+
"abstract": true,
|
5302
|
+
"docs": {
|
5303
|
+
"stability": "stable"
|
5304
|
+
},
|
5305
|
+
"immutable": true,
|
5306
|
+
"locationInModule": {
|
5307
|
+
"filename": "src/lib/aws.ts",
|
5308
|
+
"line": 31
|
5309
|
+
},
|
5310
|
+
"name": "clusterName",
|
5311
|
+
"type": {
|
5312
|
+
"primitive": "string"
|
5313
|
+
}
|
5314
|
+
},
|
5315
|
+
{
|
5316
|
+
"abstract": true,
|
5317
|
+
"docs": {
|
5318
|
+
"stability": "stable"
|
5319
|
+
},
|
5320
|
+
"immutable": true,
|
5321
|
+
"locationInModule": {
|
5322
|
+
"filename": "src/lib/aws.ts",
|
5323
|
+
"line": 33
|
5324
|
+
},
|
5325
|
+
"name": "containerSupport",
|
5326
|
+
"type": {
|
5327
|
+
"primitive": "boolean"
|
5328
|
+
}
|
5329
|
+
},
|
5330
|
+
{
|
5331
|
+
"abstract": true,
|
5332
|
+
"docs": {
|
5333
|
+
"see": "https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-security-groups.html",
|
5334
|
+
"stability": "stable"
|
5335
|
+
},
|
5336
|
+
"immutable": true,
|
5337
|
+
"locationInModule": {
|
5338
|
+
"filename": "src/lib/aws.ts",
|
5339
|
+
"line": 41
|
5340
|
+
},
|
5341
|
+
"name": "securityGroupFilters",
|
5342
|
+
"optional": true,
|
5343
|
+
"type": {
|
5344
|
+
"union": {
|
5345
|
+
"types": [
|
5346
|
+
{
|
5347
|
+
"fqn": "cdktf.IResolvable"
|
5348
|
+
},
|
5349
|
+
{
|
5350
|
+
"collection": {
|
5351
|
+
"elementtype": {
|
5352
|
+
"fqn": "@cdktf/provider-aws.dataAwsSecurityGroups.DataAwsSecurityGroupsFilter"
|
5353
|
+
},
|
5354
|
+
"kind": "array"
|
5355
|
+
}
|
5356
|
+
}
|
5357
|
+
]
|
5358
|
+
}
|
5359
|
+
}
|
5360
|
+
},
|
5361
|
+
{
|
5362
|
+
"abstract": true,
|
5363
|
+
"docs": {
|
5364
|
+
"see": "https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html",
|
5365
|
+
"stability": "stable"
|
5366
|
+
},
|
5367
|
+
"immutable": true,
|
5368
|
+
"locationInModule": {
|
5369
|
+
"filename": "src/lib/aws.ts",
|
5370
|
+
"line": 37
|
5371
|
+
},
|
5372
|
+
"name": "subnetFilters",
|
5373
|
+
"optional": true,
|
5374
|
+
"type": {
|
5375
|
+
"union": {
|
5376
|
+
"types": [
|
5377
|
+
{
|
5378
|
+
"fqn": "cdktf.IResolvable"
|
5379
|
+
},
|
5380
|
+
{
|
5381
|
+
"collection": {
|
5382
|
+
"elementtype": {
|
5383
|
+
"fqn": "@cdktf/provider-aws.dataAwsSubnets.DataAwsSubnetsFilter"
|
5384
|
+
},
|
5385
|
+
"kind": "array"
|
5386
|
+
}
|
5387
|
+
}
|
5388
|
+
]
|
5389
|
+
}
|
5390
|
+
}
|
5391
|
+
}
|
5392
|
+
],
|
5393
|
+
"symbolId": "src/lib/aws:AwsProps"
|
5394
|
+
},
|
5272
5395
|
"terraform-cdk-serverless-github-actions-runner-controller.Azure": {
|
5273
5396
|
"assembly": "terraform-cdk-serverless-github-actions-runner-controller",
|
5274
5397
|
"base": "constructs.Construct",
|
@@ -5346,6 +5469,6 @@
|
|
5346
5469
|
"symbolId": "src/lib/gcp:Gcp"
|
5347
5470
|
}
|
5348
5471
|
},
|
5349
|
-
"version": "0.0.
|
5350
|
-
"fingerprint": "
|
5472
|
+
"version": "0.0.3",
|
5473
|
+
"fingerprint": "iUkv/vwmLc/CF+JAROSzrwDPgf2uIPu0E2NqEqa2DI4="
|
5351
5474
|
}
|
package/API.md
CHANGED
@@ -9,13 +9,14 @@
|
|
9
9
|
```typescript
|
10
10
|
import { Aws } from 'terraform-cdk-serverless-github-actions-runner-controller'
|
11
11
|
|
12
|
-
new Aws(scope: Construct, id: string)
|
12
|
+
new Aws(scope: Construct, id: string, props: AwsProps)
|
13
13
|
```
|
14
14
|
|
15
15
|
| **Name** | **Type** | **Description** |
|
16
16
|
| --- | --- | --- |
|
17
17
|
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Aws.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
|
18
18
|
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Aws.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
|
19
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Aws.Initializer.parameter.props">props</a></code> | <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.AwsProps">AwsProps</a></code> | *No description.* |
|
19
20
|
|
20
21
|
---
|
21
22
|
|
@@ -31,6 +32,12 @@ new Aws(scope: Construct, id: string)
|
|
31
32
|
|
32
33
|
---
|
33
34
|
|
35
|
+
##### `props`<sup>Required</sup> <a name="props" id="terraform-cdk-serverless-github-actions-runner-controller.Aws.Initializer.parameter.props"></a>
|
36
|
+
|
37
|
+
- *Type:* <a href="#terraform-cdk-serverless-github-actions-runner-controller.AwsProps">AwsProps</a>
|
38
|
+
|
39
|
+
---
|
40
|
+
|
34
41
|
#### Methods <a name="Methods" id="Methods"></a>
|
35
42
|
|
36
43
|
| **Name** | **Description** |
|
@@ -320,6 +327,72 @@ The tree node.
|
|
320
327
|
---
|
321
328
|
|
322
329
|
|
330
|
+
## Structs <a name="Structs" id="Structs"></a>
|
331
|
+
|
332
|
+
### AwsProps <a name="AwsProps" id="terraform-cdk-serverless-github-actions-runner-controller.AwsProps"></a>
|
333
|
+
|
334
|
+
#### Initializer <a name="Initializer" id="terraform-cdk-serverless-github-actions-runner-controller.AwsProps.Initializer"></a>
|
335
|
+
|
336
|
+
```typescript
|
337
|
+
import { AwsProps } from 'terraform-cdk-serverless-github-actions-runner-controller'
|
338
|
+
|
339
|
+
const awsProps: AwsProps = { ... }
|
340
|
+
```
|
341
|
+
|
342
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
343
|
+
|
344
|
+
| **Name** | **Type** | **Description** |
|
345
|
+
| --- | --- | --- |
|
346
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.AwsProps.property.clusterName">clusterName</a></code> | <code>string</code> | *No description.* |
|
347
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.AwsProps.property.containerSupport">containerSupport</a></code> | <code>boolean</code> | *No description.* |
|
348
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.AwsProps.property.securityGroupFilters">securityGroupFilters</a></code> | <code>cdktf.IResolvable \| @cdktf/provider-aws.dataAwsSecurityGroups.DataAwsSecurityGroupsFilter[]</code> | *No description.* |
|
349
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.AwsProps.property.subnetFilters">subnetFilters</a></code> | <code>cdktf.IResolvable \| @cdktf/provider-aws.dataAwsSubnets.DataAwsSubnetsFilter[]</code> | *No description.* |
|
350
|
+
|
351
|
+
---
|
352
|
+
|
353
|
+
##### `clusterName`<sup>Required</sup> <a name="clusterName" id="terraform-cdk-serverless-github-actions-runner-controller.AwsProps.property.clusterName"></a>
|
354
|
+
|
355
|
+
```typescript
|
356
|
+
public readonly clusterName: string;
|
357
|
+
```
|
358
|
+
|
359
|
+
- *Type:* string
|
360
|
+
|
361
|
+
---
|
362
|
+
|
363
|
+
##### `containerSupport`<sup>Required</sup> <a name="containerSupport" id="terraform-cdk-serverless-github-actions-runner-controller.AwsProps.property.containerSupport"></a>
|
364
|
+
|
365
|
+
```typescript
|
366
|
+
public readonly containerSupport: boolean;
|
367
|
+
```
|
368
|
+
|
369
|
+
- *Type:* boolean
|
370
|
+
|
371
|
+
---
|
372
|
+
|
373
|
+
##### `securityGroupFilters`<sup>Optional</sup> <a name="securityGroupFilters" id="terraform-cdk-serverless-github-actions-runner-controller.AwsProps.property.securityGroupFilters"></a>
|
374
|
+
|
375
|
+
```typescript
|
376
|
+
public readonly securityGroupFilters: IResolvable | DataAwsSecurityGroupsFilter[];
|
377
|
+
```
|
378
|
+
|
379
|
+
- *Type:* cdktf.IResolvable | @cdktf/provider-aws.dataAwsSecurityGroups.DataAwsSecurityGroupsFilter[]
|
380
|
+
|
381
|
+
> [https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-security-groups.html](https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-security-groups.html)
|
382
|
+
|
383
|
+
---
|
384
|
+
|
385
|
+
##### `subnetFilters`<sup>Optional</sup> <a name="subnetFilters" id="terraform-cdk-serverless-github-actions-runner-controller.AwsProps.property.subnetFilters"></a>
|
386
|
+
|
387
|
+
```typescript
|
388
|
+
public readonly subnetFilters: IResolvable | DataAwsSubnetsFilter[];
|
389
|
+
```
|
390
|
+
|
391
|
+
- *Type:* cdktf.IResolvable | @cdktf/provider-aws.dataAwsSubnets.DataAwsSubnetsFilter[]
|
392
|
+
|
393
|
+
> [https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html)
|
394
|
+
|
395
|
+
---
|
323
396
|
|
324
397
|
|
325
398
|
|
package/biome.jsonc
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
// ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
|
2
|
+
{
|
3
|
+
"formatter": {
|
4
|
+
"enabled": true,
|
5
|
+
"useEditorconfig": true,
|
6
|
+
"formatWithErrors": true,
|
7
|
+
"indentStyle": "space",
|
8
|
+
"indentWidth": 2,
|
9
|
+
"lineEnding": "lf",
|
10
|
+
"lineWidth": 80,
|
11
|
+
"attributePosition": "auto",
|
12
|
+
"bracketSpacing": true
|
13
|
+
},
|
14
|
+
"organizeImports": {
|
15
|
+
"enabled": true
|
16
|
+
},
|
17
|
+
"linter": {
|
18
|
+
"enabled": true,
|
19
|
+
"rules": {
|
20
|
+
"recommended": false,
|
21
|
+
"complexity": {
|
22
|
+
"useLiteralKeys": "error"
|
23
|
+
},
|
24
|
+
"style": {
|
25
|
+
"useBlockStatements": "error"
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"ignore": [
|
29
|
+
"**/*.js",
|
30
|
+
"**/*.d.ts",
|
31
|
+
"**/node_modules/",
|
32
|
+
"**/*.generated.ts",
|
33
|
+
"**/coverage"
|
34
|
+
]
|
35
|
+
},
|
36
|
+
"javascript": {
|
37
|
+
"formatter": {
|
38
|
+
"jsxQuoteStyle": "double",
|
39
|
+
"quoteProperties": "asNeeded",
|
40
|
+
"trailingCommas": "all",
|
41
|
+
"semicolons": "asNeeded",
|
42
|
+
"arrowParentheses": "always",
|
43
|
+
"bracketSameLine": false,
|
44
|
+
"quoteStyle": "single",
|
45
|
+
"attributePosition": "auto",
|
46
|
+
"bracketSpacing": true
|
47
|
+
}
|
48
|
+
},
|
49
|
+
"overrides": [
|
50
|
+
{
|
51
|
+
"include": [],
|
52
|
+
"linter": {
|
53
|
+
"rules": {}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"vcs": {
|
58
|
+
"enabled": false,
|
59
|
+
"clientKind": "git",
|
60
|
+
"useIgnoreFile": false
|
61
|
+
},
|
62
|
+
"files": {
|
63
|
+
"ignoreUnknown": false,
|
64
|
+
"ignore": []
|
65
|
+
}
|
66
|
+
}
|
package/lib/lib/aws.d.ts
CHANGED
@@ -1,4 +1,19 @@
|
|
1
|
+
import { DataAwsSecurityGroupsFilter } from '@cdktf/provider-aws/lib/data-aws-security-groups';
|
2
|
+
import { DataAwsSubnetsFilter } from '@cdktf/provider-aws/lib/data-aws-subnets';
|
3
|
+
import { IResolvable } from 'cdktf';
|
1
4
|
import { Construct } from 'constructs';
|
5
|
+
export interface AwsProps {
|
6
|
+
readonly clusterName: string;
|
7
|
+
readonly containerSupport: boolean;
|
8
|
+
/**
|
9
|
+
* @see https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html
|
10
|
+
*/
|
11
|
+
readonly subnetFilters?: DataAwsSubnetsFilter[] | IResolvable;
|
12
|
+
/**
|
13
|
+
* @see https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-security-groups.html
|
14
|
+
*/
|
15
|
+
readonly securityGroupFilters?: DataAwsSecurityGroupsFilter[] | IResolvable;
|
16
|
+
}
|
2
17
|
export declare class Aws extends Construct {
|
3
|
-
constructor(scope: Construct, id: string);
|
18
|
+
constructor(scope: Construct, id: string, props: AwsProps);
|
4
19
|
}
|