# README
Shopify Provider Project
This project contains the Shopify Provider configuration for Terraform.
Configuration Description
This project uses Terraform to manage Shopify Function resource registration for Shopify stores.
The main configuration file is provider.tf
, which defines the settings for the Shopify Provider.
Provider Configuration
terraform {
required_providers {
shopify = {
source = "pseudomonarchia/terraform-provider-shopify"
version = "0.0.6"
}
}
}
provider "shopify" {
store_domain = "<store>.myshopify.com"
store_access_token = "<access_token>"
store_api_version = "2024-07"
}
store_domain
: Your Shopify store domainstore_access_token
: Access token for accessing the Shopify APIstore_api_version
: The Shopify API version being used
Usage Instructions
- Ensure Terraform is installed.
- Replace
<store>
with your actual Shopify store name. - Replace
<access_token>
with your Shopify API access token. - Run
terraform init
to initialize the project. - Use
terraform plan
andterraform apply
to manage your Shopify resources.
Notes
- Make sure to securely store your access token and do not expose it or commit it to version control systems.
- Regularly check and update the API version to ensure compatibility with the latest Shopify API.
Contributions
Issue reports and improvement suggestions are welcome.