8000 GitHub - klaude/terraform-provider-stackpath: Terraform provider for StackPath
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

klaude/terraform-provider-stackpath

 
 

Repository files navigation

Terraform logo

Terraform Provider for StackPath

The StackPath provider is a plugin for Terraform to interact with resources on the StackPath edge platform. It is publicly available on the Terraform registry. Please see the official documentation to get started.

Provider development

Requirements

  • Terraform 0.12+ (to run acceptance tests)
  • Go 1.14+ (to build the provider plugin)

Building the provider

Run the following command to build the provider:

$ make build

Installing the built provider

Run the following command to install the built provider:

$ make install

Once the plugin has been installed, run terraform init to have terraform discover the StackPath plugin.

Testing the provider

Run the following command to run the provider's unit tests:

$ make test

In order to run the full suite of acceptance tests, run make testacc. You must declare a valid StackPath stack ID or slug, API client ID, and API client secret in the STACKPATH_STACK_ID, STACKPATH_CLIENT_ID, and STACKPATH_CLIENT_SECRET environment variables:

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

$ STACKPATH_STACK_ID=my-stack-id STACKPATH_CLIENT_ID=my-client-id STACKPATH_CLIENT_SECRET=my-client-secret make testacc

About

Terraform provider for StackPath

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 96.2%
  • Makefile 2.8%
  • Other 1.0%
0