You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"azuredevops_serviceendpoint_kubernetes" {
source="./modules/azuredevops/r/azuredevops_serviceendpoint_kubernetes"# apiserver_url - (required) is a type of stringapiserver_url=null# authorization - (optional) is a type of map of stringauthorization={}
# authorization_type - (required) is a type of stringauthorization_type=null# description - (optional) is a type of stringdescription=null# project_id - (required) is a type of stringproject_id=null# service_endpoint_name - (required) is a type of stringservice_endpoint_name=nullazure_subscription=[{
azure_environment =null
cluster_admin =null
cluster_name =null
namespace =null
resourcegroup_id =null
subscription_id =null
subscription_name =null
tenant_id =null
}]
kubeconfig=[{
accept_untrusted_certs =null
cluster_context =null
kube_config =null
kube_config_hash =null
}]
service_account=[{
ca_cert =null
ca_cert_hash =null
token =null
token_hash =null
}]
timeouts=[{
create =null
delete =null
read =null
update =null
}]
}
resource"azuredevops_serviceendpoint_kubernetes""this" {
# apiserver_url - (required) is a type of stringapiserver_url=var.apiserver_url# authorization - (optional) is a type of map of stringauthorization=var.authorization# authorization_type - (required) is a type of stringauthorization_type=var.authorization_type# description - (optional) is a type of stringdescription=var.description# project_id - (required) is a type of stringproject_id=var.project_id# service_endpoint_name - (required) is a type of stringservice_endpoint_name=var.service_endpoint_namedynamic"azure_subscription" {
for_each=var.azure_subscriptioncontent {
# azure_environment - (optional) is a type of stringazure_environment=azure_subscription.value["azure_environment"]
# cluster_admin - (optional) is a type of boolcluster_admin=azure_subscription.value["cluster_admin"]
# cluster_name - (required) is a type of stringcluster_name=azure_subscription.value["cluster_name"]
# namespace - (optional) is a type of stringnamespace=azure_subscription.value["namespace"]
# resourcegroup_id - (required) is a type of stringresourcegroup_id=azure_subscription.value["resourcegroup_id"]
# subscription_id - (required) is a type of stringsubscription_id=azure_subscription.value["subscription_id"]
# subscription_name - (required) is a type of stringsubscription_name=azure_subscription.value["subscription_name"]
# tenant_id - (required) is a type of stringtenant_id=azure_subscription.value["tenant_id"]
}
}
dynamic"kubeconfig" {
for_each=var.kubeconfigcontent {
# accept_untrusted_certs - (optional) is a type of boolaccept_untrusted_certs=kubeconfig.value["accept_untrusted_certs"]
# cluster_context - (optional) is a type of stringcluster_context=kubeconfig.value["cluster_context"]
# kube_config - (required) is a type of stringkube_config=kubeconfig.value["kube_config"]
}
}
dynamic"service_account" {
for_each=var.service_accountcontent {
# ca_cert - (required) is a type of stringca_cert=service_account.value["ca_cert"]
# token - (required) is a type of stringtoken=service_account.value["token"]
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# read - (optional) is a type of stringread=timeouts.value["read"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}