The Terraform LifeOmic provider is a plugin for Terraform that allows for the full lifecycle management of LifeOmic resources.
See the LifeOmic Provider documentation to get started using the LifeOmic provider. There are also some basic examples in this repository to demonstrate usage.
In order to build the provider from source, you'll need to have go1.19+
installed. Then run make build
.
If you're picking up changes to GQL APIs, run make generate
.
If it's not downloading schema updates try running make -B generate
Refer to the upstream documentation on development overrides.
In order to run acceptance test, you must first obtain an auth token.
Set the LIFEOMIC_TOKEN
environment variable to your token and LIFEOMIC_ACCOUNT
to your
account's unique identifier.
LIFEOMIC_TOKEN=<auth-token> LIFEOMIC_ACCOUNT=<account-id> make acctest
(must be logged in to AWS)
LIFEOMIC_TOKEN=fake-token LIFEOMIC_ACCOUNT=fake-account TESTARGS="-run='TestAccMarketplaceWellnessOffering'" LIFEOMIC_USE_LAMBDA=1 make acctest