Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ConsulClusterResourceType is the resource type of a Consul cluster ConsulClusterResourceType = "hashicorp.consul.cluster" // HvnResourceType is the resource type of an HVN HvnResourceType = "hashicorp.network.hvn" // PeeringResourceType is the resource type of a network peering PeeringResourceType = "hashicorp.network.peering" // TgwAttachmentResourceType is the resource type of a TGW attachment TgwAttachmentResourceType = "hashicorp.network.tgw-attachment" // HVNRouteResourceType is the resource type of an HVN route HVNRouteResourceType = "hashicorp.network.route" // ConsulSnapshotResourceType is the resource type of a Consul snapshot ConsulSnapshotResourceType = "hashicorp.consul.snapshot" // ConsulClusterHelmConfigDataSourceType is the data source type of a Consul // cluster Helm config ConsulClusterHelmConfigDataSourceType = ConsulClusterResourceType + ".helm-config" // ConsulClusterAgentKubernetesSecretDataSourceType is the data source // type of a Consul cluster agent Kubernetes secret ConsulClusterAgentKubernetesSecretDataSourceType = ConsulClusterResourceType + ".agent-kubernetes-secret" // VaultClusterResourceType is the resource type of a Vault cluster VaultClusterResourceType = "hashicorp.vault.cluster" // BoundaryClusterResourceType is the resource type of a Boundary Cluster BoundaryClusterResourceType = "hashicorp.boundary.cluster" )
Variables ¶
View Source
var ( // RFC1918Networks are networks defined as per RFC 1918 (Private Address Space) RFC1918Networks = []net.IPNet{ { IP: net.IPv4(10, 0, 0, 0), Mask: net.IPv4Mask(255, 0, 0, 0), }, { IP: net.IPv4(192, 168, 0, 0), Mask: net.IPv4Mask(255, 255, 0, 0), }, { IP: net.IPv4(172, 16, 0, 0), Mask: net.IPv4Mask(255, 240, 0, 0), }, } // RFC6598Networks are networks defined as per RFC 6598 (Shared Address Space) RFC6598Networks = []net.IPNet{ { IP: net.IPv4(100, 64, 0, 0), Mask: net.IPv4Mask(255, 192, 0, 0), }, } )
Functions ¶
func GetProjectID ¶ added in v0.57.0
Types ¶
type ConsulConfig ¶
type ConsulConfig struct { Datacenter string `json:"datacenter"` Encrypt string `json:"encrypt"` RetryJoin []string `json:"retry_join"` }
ConsulConfig represents the Consul configuration that will be decoded from a base64 formatted string.
Source Files ¶
- data_source_aws_network_peering.go
- data_source_aws_transit_gateway_attachment.go
- data_source_azure_peering_connection.go
- data_source_boundary_cluster.go
- data_source_consul_agent_helm_config.go
- data_source_consul_agent_kubernetes_secret.go
- data_source_consul_cluster.go
- data_source_consul_versions.go
- data_source_hvn.go
- data_source_hvn_peering_connection.go
- data_source_hvn_route.go
- data_source_packer_image.go
- data_source_packer_image_iteration.go
- data_source_packer_iteration.go
- data_source_vault_cluster.go
- data_source_vault_secrets_app.go
- link.go
- peering.go
- project.go
- provider.go
- resource_aws_network_peering.go
- resource_aws_transit_gateway_attachment.go
- resource_azure_peering_connection.go
- resource_boundary_cluster.go
- resource_consul_cluster.go
- resource_consul_cluster_root_token.go
- resource_consul_snapshot.go
- resource_hvn.go
- resource_hvn_peering_connection.go
- resource_hvn_route.go
- resource_packer_channel.go
- resource_packer_channel_assignment.go
- resource_vault_cluster.go
- resource_vault_cluster_admin_token.go
- statuspage.go
- validators.go
Click to show internal directories.
Click to hide internal directories.