Configuration in this directory creates AWS Step Function and IAM role with large variety of supported AWS Service integrations and custom policies.
Note: You probably don't need to set custom/additional policies but use service_integrations
only.
To run this example you need to execute:
$ terraform init
$ terraform plan
$ terraform apply
Note that this example may create resources which cost money. Run terraform destroy
when you don't need these resources.
Name | Version |
---|---|
terraform | >= 1.0 |
aws | >= 5.61 |
null | >= 2 |
random | >= 2 |
Name | Version |
---|---|
aws | >= 5.61 |
null | >= 2 |
random | >= 2 |
Name | Source | Version |
---|---|---|
disabled_step_function | ../../ | n/a |
kms | terraform-aws-modules/kms/aws | ~> 1.0 |
lambda_function | terraform-aws-modules/lambda/aws | ~> 2.0 |
step_function | ../../ | n/a |
step_function_with_existing_log_group | ../../ | n/a |
Name | Type |
---|---|
aws_cloudwatch_log_group.external | resource |
aws_sqs_queue.queue | resource |
null_resource.download_package | resource |
random_pet.this | resource |
aws_caller_identity.current | data source |
aws_region.current | data source |
No inputs.
Name | Description |
---|---|
cloudwatch_log_group_arn | The ARN of the CloudWatch log group created for the Step Function |
cloudwatch_log_group_name | The name of the CloudWatch log group created for the Step Function |
role_arn | The ARN of the IAM role created for the State Machine |
role_name | The name of the IAM role created for the State Machine |
state_machine_arn | The ARN of the State Machine |
state_machine_creation_date | The date the State Machine was created |
state_machine_id | The ARN of the State Machine |
state_machine_status | The current status of the State Machine |
state_machine_version_arn | The ARN of state machine version |