Caution
This project is end of life. This repo will be deleted on June 2nd 2025.
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
There should be no changes required to move from previous versions of this module to version 0.12.0 or higher.
The following module variables changes have occurred:
repository_name
- marked for deprecation as it no longer meets our style guide standards.
name
- introduced as a replacement forrepository_name
to better align with our style guide standards.
- None
Name | Version |
---|---|
aws | >= 2.7.0 |
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 | bool |
false |
no |
enable_trigger_2 | Enable trigger #2 for the repository | bool |
false |
no |
enable_trigger_3 | Enable trigger #3 for the repository | bool |
false |
no |
enable_trigger_4 | Enable trigger #4 for the repository | bool |
false |
no |
name | Name of the repository. name supercedes the deprecated repository_name . Either name or repository_name must contain a non-default value. |
string |
"" |
no |
repository_name | Name of the repository.[Deprecated in favor of name ]. It will be removed in future releases. name supercedes the repository_name . Either name or repository_name must contain a non-default value. |
string |
"" |
no |
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(string) |
[] |
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(string) |
[] |
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(string) |
[] |
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(string) |
[] |
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(string) |
[] |
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(string) |
[] |
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(string) |
[] |
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(string) |
[] |
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 |