@@ -39,11 +39,48 @@ client_secret = ""
39
39
tenant_id = ""
40
40
subscription_id = ""
41
41
```
42
- ### Installation
42
+ ### Installation Discovered Subscriptions
43
+
44
+ ``` hcl-terraform
45
+
46
+ module "firefly_azure_integration" {
47
+ source = "github.com/gofireflyio/terraform-firefly-azure-onboarding?ref=v1.1.0"
48
+
49
+ client_id = var.client_id
50
+ client_secret = var.client_secret
51
+
52
+ tenant_id = var.tenant_id
53
+ // firefly's landing subscription: eventgrid, storage_account and resource_group will be created here
54
+ subscription_id = var.subscription_id
55
+
56
+ // firefly credentials
57
+ firefly_access_key = var.firefly_access_key
58
+ firefly_secret_key = var.firefly_secret_key
59
+
60
+ // custom settings
61
+ location = var.location
62
+ prefix = var.prefix
63
+ tags = var.tags
64
+
65
+ // create resource provider registration
66
+ create_resource_provider_registration = false
67
+
68
+ // enablew on all subscriptions that can be discovered
69
+ eventdriven_auto_discover = true
70
+ // enable eventdriven on subscription_id that was given
71
+ eventdriven_enabled = true
72
+
73
+ // create integrations
74
+ trigger_integrations = true
75
+ }
76
+
77
+ ```
78
+
79
+ ### Installation Single Subscription
43
80
44
81
``` hcl-terraform
45
82
module "firefly_azure_integration_00000000-0000-0000-0000-000000000000" {
46
- source = "github.com/gofireflyio/terraform-firefly-azure-onboarding?ref=v1.0 .0"
83
+ source = "github.com/gofireflyio/terraform-firefly-azure-onboarding?ref=v1.1 .0"
47
84
client_id = var.client_id
48
85
client_secret = var.client_secret
49
86
tenant_id = var.tenant_id
@@ -69,7 +106,7 @@ output "firefly_subscription_id_00000000-0000-0000-0000-000000000000" {
69
106
70
107
71
108
module "firefly_azure_integration_11111111-1111-1111-1111-111111111111" {
72
- source = "github.com/gofireflyio/terraform-firefly-azure-onboarding?ref=v1.0 .0"
109
+ source = "github.com/gofireflyio/terraform-firefly-azure-onboarding?ref=v1.1 .0"
73
110
client_id = var.client_id
74
111
client_secret = var.client_secret
75
112
tenant_id = var.tenant_id
0 commit comments