Skip to content

stacklet/terraform-azure-stacklet-relay

Repository files navigation

terraform-azure-stacklet-relay

This module will deploy the necessary infrastructure to forward events from your Azure Subscription into Stacklet Platform. These events are used to enable event-driven policy execution to ensure real time policy execution within your subscription.

Requirements

Azure Functions Core Tools must be installed.

Providers

Name Version
azuread n/a
azurerm n/a
local n/a
null n/a
random n/a

Modules

No modules.

Resources

Name Type
azuread_application.stacklet_application resource
azuread_service_principal.stacklet_sp resource
azurerm_application_insights.stacklet resource
azurerm_eventgrid_system_topic.azure_rm_events resource
azurerm_eventgrid_system_topic_event_subscription.azure_rm_event_subscription resource
azurerm_linux_function_app.stacklet resource
azurerm_resource_group.stacklet_rg resource
azurerm_service_plan.stacklet resource
azurerm_storage_account.stacklet resource
azurerm_storage_queue.stacklet resource
azurerm_user_assigned_identity.stacklet_identity resource
local_file.function_json resource
null_resource.function_deploy resource
null_resource.stacklet resource
random_string.storage_account_suffix resource
random_uuid.app_role_uuid resource
azuread_application.stacklet_application data source
azuread_client_config.current data source
azuread_service_principal.stacklet_sp data source
azurerm_client_config.current data source
azurerm_eventgrid_system_topic.azure_rm_events data source
azurerm_role_definition.builtin data source
azurerm_subscription.current data source

Inputs

Name Description Type Default Required
aws_target_account AWS Target account for relay, to be provided by Stacklet. string n/a yes
aws_target_event_bus AWS Target event bus for relay, to be provided by Stacklet. string n/a yes
aws_target_partition AWS Target partition for relay, to be provided by Stacklet. string "aws" no
aws_target_prefix Deployment prefix for the target Stacklet instance, to be provided by Stacklet. string n/a yes
aws_target_region AWS Target region for relay, to be provided by Stacklet. string n/a yes
aws_target_role_name AWS Target role name for relay, to be provided by Stacklet. string n/a yes
azuread_application Azure AD Application. One per tenant. string null no
event_grid_topic_name System Topic Name for subscription events if it already exists string null no
event_grid_topic_resource_group System Topic resource group name for subscription events if it already exists string null no
event_names Event Names to filter list(string)
[
"Microsoft.Resources.ResourceWriteSuccess",
"Microsoft.Resources.ResourceActionSuccess",
"Microsoft.Resources.ResourceDeleteSuccess"
]
no
prefix A Prefix for all of the generated resources string n/a yes
resource_group_location Resource Group location for generated resoruces string n/a yes
tags Tags to apply to resources map(any) {} no

Outputs

No outputs.

About

Terraform Module to relay events into Stacklet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •