This module creates a code commit repository.
module "codecommit_repo" {
source = "[email protected]:rackspace-infrastructure-automation/aws-terraform-codecommit//?ref=v0.0.1"
repository_name = "MyTestRepository"
}
Full working references are available at examples
Name | Description | Type | Default | Required |
---|---|---|---|---|
default_branch | The default branch for the repository | string | "master" |
no |
description | A description of the repository | string | "" |
no |
enable_trigger_1 | Enable trigger #1 for the repository | string | "false" |
no |
enable_trigger_2 | Enable trigger #2 for the repository | string | "false" |
no |
enable_trigger_3 | Enable trigger #3 for the repository | string | "false" |
no |
enable_trigger_4 | Enable trigger #4 for the repository | string | "false" |
no |
repository_name | Name of the repository | string | n/a | yes |
trigger_1_branches | The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches. | list | <list> |
no |
trigger_1_custom_data | Any custom data associated with the trigger that will be included in the information sent to the target of the trigger. | string | "" |
no |
trigger_1_destination_arn | The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS). | string | "" |
no |
trigger_1_events | The repository events that will cause the trigger to run actions in another service. Event types include: all, updateReference, createReference, deleteReference. | list | <list> |
no |
trigger_1_name | Trigger #1 name | string | "" |
no |
trigger_2_branches | The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches. | list | <list> |
no |
trigger_2_custom_data | Any custom data associated with the trigger that will be included in the information sent to the target of the trigger. | string | "" |
no |
trigger_2_destination_arn | The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS). | string | "" |
no |
trigger_2_events | The repository events that will cause the trigger to run actions in another service. Event types include: all, updateReference, createReference, deleteReference. | list | <list> |
no |
trigger_2_name | Trigger #2 name | string | "" |
no |
trigger_3_branches | The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches. | list | <list> |
no |
trigger_3_custom_data | Any custom data associated with the trigger that will be included in the information sent to the target of the trigger. | string | "" |
no |
trigger_3_destination_arn | The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS). | string | "" |
no |
trigger_3_events | The repository events that will cause the trigger to run actions in another service. Event types include: all, updateReference, createReference, deleteReference. | list | <list> |
no |
trigger_3_name | Trigger #3 name | string | "" |
no |
trigger_4_branches | The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches. | list | <list> |
no |
trigger_4_custom_data | Any custom data associated with the trigger that will be included in the information sent to the target of the trigger. | string | "" |
no |
trigger_4_destination_arn | The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS). | string | "" |
no |
trigger_4_events | The repository events that will cause the trigger to run actions in another service. Event types include: all, updateReference, createReference, deleteReference. | list | <list> |
no |
trigger_4_name | Trigger #4 name | string | "" |
no |
Name | Description |
---|---|
arn | The ARN of the repository |
clone_url_http | The URL to use for cloning the repository over HTTPS. |
clone_url_ssh | The URL to use for cloning the repository over SSH. |
repository_id | The ID of the repository |