provider "liff" {
channel_id = "0000000000"
channel_secret = "00112233445566778899aabbccddeeff"
}
resource "liff_app" "example" {
description = "Your LIFF App name"
view = {
type = "full"
url = "https://example.com"
}
bot_prompt = "normal"
scope = ["profile"]
feature = {
qr_code = true
}
}
For more information, please refer the documentation.
- Clone the repository
- Enter the repository directory
- Build the provider using the Go
install
command:
go install .
This provider uses Go modules. Please see the Go documentation for the most up to date information about using Go modules.
To add a new dependency github.com/author/dependency
to your Terraform provider:
go get github.com/author/dependency
go mod tidy
Then commit the changes to go.mod
and go.sum
.