terraform-provider-hcs

command module
v0.0.0-...-63319d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

README



Huawei Cloud Stack Provider

Requirements

  • Terraform 0.12.x
  • Go 1.18 (to build the provider plugin)

Compatibility with HCS

Provider Version Huawei Cloud Stack Version
v2.3.x v8.3.0
v2.4.x v8.3.1

Building The Provider

Clone repository to: $GOPATH/src/github.com/huaweicloud/terraform-provider-hcs

$ mkdir -p $GOPATH/src/github.com/huaweicloudstack; cd $GOPATH/src/github.com/huaweicloudstack
$ git clone https://github.com/huaweicloud/terraform-provider-hcs

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/huaweicloudstack/terraform-provider-hcs
$ make build

Using the provider

Please see the documentation at provider usage.

Or you can browse the documentation within this repo here.

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.14+ is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.

To compile the provider, run make build. This will build the provider and put the provider binary in the $GOPATH/bin directory.

$ make build
...
$ $GOPATH/bin/terraform-provider-hcs
...

In order to test the provider, you can simply run make test.

$ make test

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources, and often cost money to run.

$ make testacc

License

Terraform-Provider-HCS is under the Mozilla Public License 2.0. See the LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
common
Copyright (c) Huawei Technologies Co., Ltd.
Copyright (c) Huawei Technologies Co., Ltd.
sdk/huaweicloud
Package golangsdk provides a multi-vendor interface to OpenStack-compatible clouds.
Package golangsdk provides a multi-vendor interface to OpenStack-compatible clouds.
sdk/huaweicloud/openstack
Package openstack contains resources for the individual OpenStack projects supported in Gophercloud.
Package openstack contains resources for the individual OpenStack projects supported in Gophercloud.
sdk/huaweicloud/openstack/antiddos/v1/antiddos
The Anti-DDoS traffic cleaning service (Anti-DDoS for short) defends resources (Elastic Cloud Servers (ECSs), Elastic Load Balance (ELB) instances, and Bare Metal Servers (BMSs)) on HUAWEI CLOUD against network- and application-layer distributed denial of service (DDoS) attacks and sends alarms immediately when detecting an attack.
The Anti-DDoS traffic cleaning service (Anti-DDoS for short) defends resources (Elastic Cloud Servers (ECSs), Elastic Load Balance (ELB) instances, and Bare Metal Servers (BMSs)) on HUAWEI CLOUD against network- and application-layer distributed denial of service (DDoS) attacks and sends alarms immediately when detecting an attack.
sdk/huaweicloud/openstack/blockstorage/extensions/volumeactions
Package volumeactions provides information and interaction with volumes in the OpenStack Block Storage service.
Package volumeactions provides information and interaction with volumes in the OpenStack Block Storage service.
sdk/huaweicloud/openstack/blockstorage/v2/volumes
Package volumes provides information and interaction with volumes in the OpenStack Block Storage service.
Package volumes provides information and interaction with volumes in the OpenStack Block Storage service.
sdk/huaweicloud/openstack/cce/v3/clusters
Package Clusters enables management and retrieval of Clusters CCE service.
Package Clusters enables management and retrieval of Clusters CCE service.
sdk/huaweicloud/openstack/cce/v3/partitions
Package partitions is a new feature introduced by CCE Turbo remote distributed cluster management.
Package partitions is a new feature introduced by CCE Turbo remote distributed cluster management.
sdk/huaweicloud/openstack/compute/v2/extensions/attachinterfaces
Package attachinterfaces provides the ability to retrieve and manage network interfaces through Nova.
Package attachinterfaces provides the ability to retrieve and manage network interfaces through Nova.
sdk/huaweicloud/openstack/compute/v2/extensions/availabilityzones
Package availabilityzones provides the ability to get lists and detailed availability zone information and to extend a server result with availability zone information.
Package availabilityzones provides the ability to get lists and detailed availability zone information and to extend a server result with availability zone information.
sdk/huaweicloud/openstack/compute/v2/extensions/floatingips
Package floatingips provides the ability to manage floating ips through the Nova API.
Package floatingips provides the ability to manage floating ips through the Nova API.
sdk/huaweicloud/openstack/compute/v2/extensions/keypairs
Package keypairs provides the ability to manage key pairs as well as create servers with a specified key pair.
Package keypairs provides the ability to manage key pairs as well as create servers with a specified key pair.
sdk/huaweicloud/openstack/compute/v2/extensions/secgroups
Package secgroups provides the ability to manage security groups through the Nova API.
Package secgroups provides the ability to manage security groups through the Nova API.
sdk/huaweicloud/openstack/compute/v2/extensions/volumeattach
Package volumeattach provides the ability to attach and detach volumes from servers.
Package volumeattach provides the ability to attach and detach volumes from servers.
sdk/huaweicloud/openstack/compute/v2/flavors
Package flavors provides information and interaction with the flavor API in the OpenStack Compute service.
Package flavors provides information and interaction with the flavor API in the OpenStack Compute service.
sdk/huaweicloud/openstack/compute/v2/images
Package images provides information and interaction with the images through the OpenStack Compute service.
Package images provides information and interaction with the images through the OpenStack Compute service.
sdk/huaweicloud/openstack/compute/v2/servers
Package servers provides information and interaction with the server API resource in the OpenStack Compute service.
Package servers provides information and interaction with the server API resource in the OpenStack Compute service.
sdk/huaweicloud/openstack/csbs/v1/backup
Package backup enables management and retrieval of back up resources.
Package backup enables management and retrieval of back up resources.
sdk/huaweicloud/openstack/csbs/v1/policies
Package backup policies enables management and retrieval of backup servers periodically.
Package backup policies enables management and retrieval of backup servers periodically.
sdk/huaweicloud/openstack/cts/v1/tracker
Package tracker provides operation records for cloud service resources.
Package tracker provides operation records for cloud service resources.
sdk/huaweicloud/openstack/dli/v1/queues
Package keys provides information and interaction with keys in the Queues in DLI are computing resources, which are the basis for using DLI.
Package keys provides information and interaction with keys in the Queues in DLI are computing resources, which are the basis for using DLI.
sdk/huaweicloud/openstack/dns/v2/recordsets
Package recordsets provides information and interaction with the zone API resource for the OpenStack DNS service.
Package recordsets provides information and interaction with the zone API resource for the OpenStack DNS service.
sdk/huaweicloud/openstack/dns/v2/zones
Package zones provides information and interaction with the zone API resource for the OpenStack DNS service.
Package zones provides information and interaction with the zone API resource for the OpenStack DNS service.
sdk/huaweicloud/openstack/ecs/v1/servergroups
Package servergroups provides the ability to manage server groups.
Package servergroups provides the ability to manage server groups.
sdk/huaweicloud/openstack/elb/v2/loadbalancers
Package loadbalancers provides information and interaction with Load Balancers of the ELB v2 extension for the OpenStack Networking service.
Package loadbalancers provides information and interaction with Load Balancers of the ELB v2 extension for the OpenStack Networking service.
sdk/huaweicloud/openstack/identity/v3/domains
Package domains manages and retrieves Domains in the OpenStack Identity Service.
Package domains manages and retrieves Domains in the OpenStack Identity Service.
sdk/huaweicloud/openstack/identity/v3/groups
Package groups manages and retrieves Groups in the OpenStack Identity Service.
Package groups manages and retrieves Groups in the OpenStack Identity Service.
sdk/huaweicloud/openstack/identity/v3/projects
Package projects manages and retrieves Projects in the OpenStack Identity Service.
Package projects manages and retrieves Projects in the OpenStack Identity Service.
sdk/huaweicloud/openstack/identity/v3/tokens
Package tokens provides information and interaction with the token API resource for the OpenStack Identity service.
Package tokens provides information and interaction with the token API resource for the OpenStack Identity service.
sdk/huaweicloud/openstack/identity/v3/users
Package users manages and retrieves Users in the OpenStack Identity Service.
Package users manages and retrieves Users in the OpenStack Identity Service.
sdk/huaweicloud/openstack/imageservice/v2/imagedata
Package imagedata enables management of image data.
Package imagedata enables management of image data.
sdk/huaweicloud/openstack/imageservice/v2/images
Package images enables management and retrieval of images from the OpenStack Image Service.
Package images enables management and retrieval of images from the OpenStack Image Service.
sdk/huaweicloud/openstack/kms/v1/keys
Package keys provides information and interaction with keys in the Key Management Service service.
Package keys provides information and interaction with keys in the Key Management Service service.
sdk/huaweicloud/openstack/networking/v1/subnets
Package Subnets enables management and retrieval of Subnets
Package Subnets enables management and retrieval of Subnets
sdk/huaweicloud/openstack/networking/v1/vpcs
Package vpcs enables management and retrieval of Vpcs VPC service.
Package vpcs enables management and retrieval of Vpcs VPC service.
sdk/huaweicloud/openstack/networking/v2/extensions/extradhcpopts
Package extradhcpopts allow to work with extra DHCP functionality of Neutron ports.
Package extradhcpopts allow to work with extra DHCP functionality of Neutron ports.
sdk/huaweicloud/openstack/networking/v2/extensions/fwaas_v2/routerinsertion
Package routerinsertion implements the fwaasrouterinsertion FWaaS extension.
Package routerinsertion implements the fwaasrouterinsertion FWaaS extension.
sdk/huaweicloud/openstack/networking/v2/extensions/layer3/floatingips
package floatingips enables management and retrieval of Floating IPs from the OpenStack Networking service.
package floatingips enables management and retrieval of Floating IPs from the OpenStack Networking service.
sdk/huaweicloud/openstack/networking/v2/extensions/layer3/routers
Package routers enables management and retrieval of Routers from the OpenStack Networking service.
Package routers enables management and retrieval of Routers from the OpenStack Networking service.
sdk/huaweicloud/openstack/networking/v2/extensions/provider
Package provider gives access to the provider Neutron plugin, allowing network extended attributes.
Package provider gives access to the provider Neutron plugin, allowing network extended attributes.
sdk/huaweicloud/openstack/networking/v2/extensions/security/groups
Package groups provides information and interaction with Security Groups for the OpenStack Networking service.
Package groups provides information and interaction with Security Groups for the OpenStack Networking service.
sdk/huaweicloud/openstack/networking/v2/extensions/security/rules
Package rules provides information and interaction with Security Group Rules for the OpenStack Networking service.
Package rules provides information and interaction with Security Group Rules for the OpenStack Networking service.
sdk/huaweicloud/openstack/networking/v2/extensions/vpnaas/endpointgroups
Package endpointgroups allows management of endpoint groups in the Openstack Network Service
Package endpointgroups allows management of endpoint groups in the Openstack Network Service
sdk/huaweicloud/openstack/networking/v2/extensions/vpnaas/ikepolicies
Package ikepolicies allows management and retrieval of IKE policies in the OpenStack Networking Service.
Package ikepolicies allows management and retrieval of IKE policies in the OpenStack Networking Service.
sdk/huaweicloud/openstack/networking/v2/extensions/vpnaas/ipsecpolicies
Package ipsecpolicies allows management and retrieval of IPSec Policies in the OpenStack Networking Service.
Package ipsecpolicies allows management and retrieval of IPSec Policies in the OpenStack Networking Service.
sdk/huaweicloud/openstack/networking/v2/extensions/vpnaas/services
Package services allows management and retrieval of VPN services in the OpenStack Networking Service.
Package services allows management and retrieval of VPN services in the OpenStack Networking Service.
sdk/huaweicloud/openstack/networking/v2/extensions/vpnaas/siteconnections
Package siteconnections allows management and retrieval of IPSec site connections in the OpenStack Networking Service.
Package siteconnections allows management and retrieval of IPSec site connections in the OpenStack Networking Service.
sdk/huaweicloud/openstack/networking/v2/networks
Package networks contains functionality for working with Neutron network resources.
Package networks contains functionality for working with Neutron network resources.
sdk/huaweicloud/openstack/networking/v2/peerings
Package peerings enables management and retrieval of vpc peering connections
Package peerings enables management and retrieval of vpc peering connections
sdk/huaweicloud/openstack/networking/v2/ports
Package ports contains functionality for working with Neutron port resources.
Package ports contains functionality for working with Neutron port resources.
sdk/huaweicloud/openstack/networking/v2/routes
Package routes enables management and retrieval of Routes Route service.
Package routes enables management and retrieval of Routes Route service.
sdk/huaweicloud/openstack/networking/v2/subnets
Package subnets contains functionality for working with Neutron subnet resources.
Package subnets contains functionality for working with Neutron subnet resources.
sdk/huaweicloud/openstack/sfs/v2/shares
Package shares enables management and retrieval of shares Share service.
Package shares enables management and retrieval of shares Share service.
sdk/huaweicloud/openstack/vbs/v2/backups
Package backups enables management and retrieval of Backups VBS service.
Package backups enables management and retrieval of Backups VBS service.
sdk/huaweicloud/pagination
Package pagination contains utilities and convenience structs that implement common pagination idioms within OpenStack APIs.
Package pagination contains utilities and convenience structs that implement common pagination idioms within OpenStack APIs.
sdk/huaweicloud/testhelper
Package testhelper container methods that are useful for writing unit tests.
Package testhelper container methods that are useful for writing unit tests.
scripts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL