8000 GitHub - trois-six/terraform-provider-smc
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

trois-six/terraform-provider-smc

Repository files navigation

Terraform Provider SMC

This is the Stormshield SMC Terraform Provider. It allows to manage your Stormshield SMC configuration using Terraform.

Requirements

Building The Provider

  1. Clone the repository
  2. Enter the repository directory
  3. Build the provider using the Go install command:
go install

Using the provider

  • Set the hostname and api_key in the provider block:
provider "smc" {
  hostname = "https://smc.example.com"
  api_key  = "your_api_key"
}
  • Use a datasource or a resource
data "smc_account" "test" {
  identifier = "jdoe"
}

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (see Requirements above).

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

To generate or update documentation, run make generate.

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

Note: Acceptance tests do not create real resources, they are using mocks.

make testacc

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 16

0