Documentation ¶
Index ¶
Constants ¶
View Source
const ( AlternativeProviderAlias = "opentelekomcloud.alternative" AlternativeProviderWithRegionAlias = "opentelekomcloud.region" )
View Source
const DataSourceSecGroupDefault = `
data "opentelekomcloud_networking_secgroup_v2" "default_secgroup" {
name = "default"
}
`
DataSourceSecGroupDefault can be referred as `data.opentelekomcloud_networking_secgroup_v2.default_secgroup`
Variables ¶
View Source
var ( TestAccProviderFactories map[string]func() (*schema.Provider, error) TestAccProvider *schema.Provider AlternativeProviderConfig = fmt.Sprintf(` provider opentelekomcloud { alias = "alternative" cloud = "%s" tenant_id = "%s" tenant_name = "%s" } `, altCloud, altProjectID, altProjectName) AlternativeProviderWithRegionConfig string )
View Source
var DataSourceExtNetwork = fmt.Sprintf(` data "opentelekomcloud_networking_network_v2" "ext_network" { name = "%s" } `, env.OsExtNetworkName)
DataSourceExtNetwork can be referred as `data.opentelekomcloud_networking_network_v2.ext_network`
View Source
var DataSourceImage = fmt.Sprintf(` data "opentelekomcloud_images_image_v2" "latest_image" { name = "%s" most_recent = true } `, env.OsImageName)
DataSourceImage can be referred as `data.opentelekomcloud_images_image_v2.latest_image`
View Source
var DataSourceKMSKey = fmt.Sprintf(` data "opentelekomcloud_kms_key_v1" "default_key" { key_alias = "%s" } `, env.OsKmsName)
DataSourceKMSKey can be referred as `data.opentelekomcloud_kms_key_v1.default_key`
View Source
var DataSourceProject = fmt.Sprintf(` data "opentelekomcloud_identity_project_v3" "project" { name = "%s" } `, env.OS_TENANT_NAME)
DataSourceProject can be referred as `data.opentelekomcloud_identity_project_v3.project`
View Source
var DataSourceSubnet = fmt.Sprintf(` data "opentelekomcloud_vpc_subnet_v1" "shared_subnet" { name = "%s" } `, env.OsSubnetName)
DataSourceSubnet can be referred as `data.opentelekomcloud_vpc_subnet_v1.shared_subnet`
Functions ¶
func TestAccPreCheck ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.