terraform-cdk-serverless-github-actions-runner-controller 0.0.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,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const cdktf_1 = require("cdktf");
4
+ const tf_module_stack_1 = require("@cdktf/tf-module-stack");
5
+ const azure_1 = require("./lib/azure");
6
+ class AzureContainerAppsArc extends tf_module_stack_1.TFModuleStack {
7
+ constructor(scope, id) {
8
+ super(scope, id);
9
+ new azure_1.Azure(this, "aca");
10
+ }
11
+ }
12
+ const app = new cdktf_1.App();
13
+ // This is the name the module can be found under.
14
+ // We expect a "my-awesome-module.md" file in this directory.
15
+ // The README.md file will be generated from this file.
16
+ new AzureContainerAppsArc(app, "azure-container-apps");
17
+ app.synth();
18
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGZNb2R1bGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL3RmTW9kdWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLGlDQUE0QjtBQUU1Qiw0REFBdUQ7QUFDdkQsdUNBQW9DO0FBRXBDLE1BQU0scUJBQXNCLFNBQVEsK0JBQWE7SUFDL0MsWUFBWSxLQUFnQixFQUFFLEVBQVU7UUFDdEMsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQztRQUVqQixJQUFJLGFBQUssQ0FBQyxJQUFJLEVBQUUsS0FBSyxDQUFDLENBQUM7SUFDekIsQ0FBQztDQUNGO0FBRUQsTUFBTSxHQUFHLEdBQUcsSUFBSSxXQUFHLEVBQUUsQ0FBQztBQUN0QixtREFBbUQ7QUFDbkQsNkRBQTZEO0FBQzdELHVEQUF1RDtBQUN2RCxJQUFJLHFCQUFxQixDQUFDLEdBQUcsRUFBRSxzQkFBc0IsQ0FBQyxDQUFDO0FBQ3ZELEdBQUcsQ0FBQyxLQUFLLEVBQUUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEFwcCB9IGZyb20gXCJjZGt0ZlwiO1xuaW1wb3J0IHsgQ29uc3RydWN0IH0gZnJvbSBcImNvbnN0cnVjdHNcIjtcbmltcG9ydCB7IFRGTW9kdWxlU3RhY2sgfSBmcm9tIFwiQGNka3RmL3RmLW1vZHVsZS1zdGFja1wiO1xuaW1wb3J0IHsgQXp1cmUgfSBmcm9tIFwiLi9saWIvYXp1cmVcIjtcblxuY2xhc3MgQXp1cmVDb250YWluZXJBcHBzQXJjIGV4dGVuZHMgVEZNb2R1bGVTdGFjayB7XG4gIGNvbnN0cnVjdG9yKHNjb3BlOiBDb25zdHJ1Y3QsIGlkOiBzdHJpbmcpIHtcbiAgICBzdXBlcihzY29wZSwgaWQpO1xuXG4gICAgbmV3IEF6dXJlKHRoaXMsIFwiYWNhXCIpO1xuICB9XG59XG5cbmNvbnN0IGFwcCA9IG5ldyBBcHAoKTtcbi8vIFRoaXMgaXMgdGhlIG5hbWUgdGhlIG1vZHVsZSBjYW4gYmUgZm91bmQgdW5kZXIuIFxuLy8gV2UgZXhwZWN0IGEgXCJteS1hd2Vzb21lLW1vZHVsZS5tZFwiIGZpbGUgaW4gdGhpcyBkaXJlY3RvcnkuXG4vLyBUaGUgUkVBRE1FLm1kIGZpbGUgd2lsbCBiZSBnZW5lcmF0ZWQgZnJvbSB0aGlzIGZpbGUuXG5uZXcgQXp1cmVDb250YWluZXJBcHBzQXJjKGFwcCwgXCJhenVyZS1jb250YWluZXItYXBwc1wiKTtcbmFwcC5zeW50aCgpOyJdfQ==
@@ -0,0 +1,74 @@
1
+ # Actions Runner Controller (ARC) on Azure Container Apps (ACA)
2
+
3
+ > [!WARNING]
4
+ > This is currently PoC level thing for module publishing. Not ready for production or any use
5
+
6
+ ## Usage
7
+
8
+ ```hcl
9
+ module "arc_on_aca" {
10
+ source = "juho.saarinen/terraform-cdk-serverless-github-actions-runner-controller.git//modules/azure-container-apps"
11
+ }
12
+ ```
13
+ <!-- BEGIN_TF_DOCS -->
14
+ ## Requirements
15
+
16
+ | Name | Version |
17
+ |------|---------|
18
+ | <a name="requirement_azapi"></a> [azapi](#requirement\_azapi) | 2.3.0 |
19
+ | <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | 4.27.0 |
20
+ | <a name="requirement_random"></a> [random](#requirement\_random) | 3.7.2 |
21
+
22
+ ## Providers
23
+
24
+ | Name | Version |
25
+ |------|---------|
26
+ | <a name="provider_azapi"></a> [azapi](#provider\_azapi) | 2.3.0 |
27
+ | <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 4.27.0 |
28
+ | <a name="provider_random"></a> [random](#provider\_random) | 3.7.2 |
29
+
30
+ ## Modules
31
+
32
+ No modules.
33
+
34
+ ## Resources
35
+
36
+ | Name | Type |
37
+ |------|------|
38
+ | [azapi_resource.aca_acaenv_BB928F0D](https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/resources/resource) | resource |
39
+ | [azapi_resource.aca_autoscalerCache_3C1251ED](https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/resources/resource) | resource |
40
+ | [azapi_resource.aca_externalsShare_D334CAD4](https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/resources/resource) | resource |
41
+ | [azapi_resource.aca_ghaRunnerJob_816ABB0D](https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/resources/resource) | resource |
42
+ | [azapi_resource.aca_runnerCache_2C48ECD2](https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/resources/resource) | resource |
43
+ | [azapi_resource.aca_storageAccount_C1F07B26](https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/resources/resource) | resource |
44
+ | [azapi_resource.aca_storageShare_5702AE2C](https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/resources/resource) | resource |
45
+ | [azurerm_container_app.aca_autoscalerApp_63FADD45](https://registry.terraform.io/providers/azurerm/4.27.0/docs/resources/container_app) | resource |
46
+ | [azurerm_container_app_environment_storage.aca_acaenvstorage_23C615A5](https://registry.terraform.io/providers/azurerm/4.27.0/docs/resources/container_app_environment_storage) | resource |
47
+ | [azurerm_container_app_environment_storage.aca_acaexternalstorage_B8141EC0](https://registry.terraform.io/providers/azurerm/4.27.0/docs/resources/container_app_environment_storage) | resource |
48
+ | [azurerm_container_registry.aca_acr_DEECF884](https://registry.terraform.io/providers/azurerm/4.27.0/docs/resources/container_registry) | resource |
49
+ | [azurerm_log_analytics_workspace.aca_log_B150D83C](https://registry.terraform.io/providers/azurerm/4.27.0/docs/resources/log_analytics_workspace) | resource |
50
+ | [azurerm_resource_group.aca_rg_AD6EB8ED](https://registry.terraform.io/providers/azurerm/4.27.0/docs/resources/resource_group) | resource |
51
+ | [azurerm_role_assignment.aca_actionContainerStartRoleAssignment_941E620A](https://registry.terraform.io/providers/azurerm/4.27.0/docs/resources/role_assignment) | resource |
52
+ | [azurerm_role_assignment.aca_imagePushRoleAssignment_8F2241FD](https://registry.terraform.io/providers/azurerm/4.27.0/docs/resources/role_assignment) | resource |
53
+ | [azurerm_role_assignment.aca_jobLogReadAssignment_E0C92A22](https://registry.terraform.io/providers/azurerm/4.27.0/docs/resources/role_assignment) | resource |
54
+ | [azurerm_role_assignment.aca_roleAssignment_A6BA6095](https://registry.terraform.io/providers/azurerm/4.27.0/docs/resources/role_assignment) | resource |
55
+ | [azurerm_role_assignment.aca_scaleJobRoleAssignment_5738140A](https://registry.terraform.io/providers/azurerm/4.27.0/docs/resources/role_assignment) | resource |
56
+ | [azurerm_role_definition.aca_jobCreationRole_9EFE12E7](https://registry.terraform.io/providers/azurerm/4.27.0/docs/resources/role_definition) | resource |
57
+ | [azurerm_role_definition.aca_jobRole_21145D6F](https://registry.terraform.io/providers/azurerm/4.27.0/docs/resources/role_definition) | resource |
58
+ | [azurerm_user_assigned_identity.aca_identity_9571D28D](https://registry.terraform.io/providers/azurerm/4.27.0/docs/resources/user_assigned_identity) | resource |
59
+ | [random_string.aca_randomSuffix_B2CE1226](https://registry.terraform.io/providers/hashicorp/random/3.7.2/docs/resources/string) | resource |
60
+ | [azapi_resource_action.aca_storageAccessKeys_4F266A39](https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action) | data source |
61
+ | [azurerm_subscription.aca_sub_C75A43F0](https://registry.terraform.io/providers/azurerm/4.27.0/docs/data-sources/subscription) | data source |
62
+
63
+ ## Inputs
64
+
65
+ | Name | Description | Type | Default | Required |
66
+ |------|-------------|------|---------|:--------:|
67
+ | <a name="input_aca_PAT_B54A3B25"></a> [aca\_PAT\_B54A3B25](#input\_aca\_PAT\_B54A3B25) | Github PAT with Actions:Read and Admin:Read+Write scopes | `any` | n/a | yes |
68
+ | <a name="input_aca_github_config_url_7230B339"></a> [aca\_github\_config\_url\_7230B339](#input\_aca\_github\_config\_url\_7230B339) | Github URL where runners should register to. Format https://<GitHub host>/<your\_enterprise/org/repo> | `any` | n/a | yes |
69
+ | <a name="input_aca_location_486B7D73"></a> [aca\_location\_486B7D73](#input\_aca\_location\_486B7D73) | Location where to provision resources to | `string` | `"westeurope"` | no |
70
+
71
+ ## Outputs
72
+
73
+ No outputs.
74
+ <!-- END_TF_DOCS -->