page_title | subcategory | description |
---|---|---|
morpheus_git_integration Resource - terraform-provider-morpheus |
Provides a git integration resource |
Provides a git integration resource
data "morpheus_key_pair" "tf_example_key_pair" {
name = "morpheusgit"
}
resource "morpheus_git_integration" "tf_example_git_integration" {
name = "tftest"
enabled = true
url = "https://github.com/gomorpheus/tfdemo.git"
default_branch = "main"
key_pair_id = data.morpheus_key_pair.tf_example_key_pair.id
enable_git_caching = true
}
name
(String) The name of the git integrationurl
(String) The url of the git repository
access_token
(String, Sensitive) The access token of the account used to authenticate to the git repositorydefault_branch
(String) The default branch of the git repositoryenable_git_caching
(Boolean) Whether the git repository is cachedenabled
(Boolean) Whether the git integration is enabledkey_pair_id
(Number) The ID of the key pair used to authenticate to the git repositorypassword
(String, Sensitive) The password of the account used to authenticate to the git repositoryusername
(String) The username of the account used to authenticate to the git repository
id
(String) The ID of the git integrationrepository_ids
(Map of Number) A map of git repository ids for use with integrations that reference a git repository
Import is supported using the following syntax:
terraform import morpheus_git_integration.tf_example_git_integration 1