/terraform-provider-liff

Primary LanguageGoMozilla Public License 2.0MPL-2.0

Terraform Provider LIFF

Requirements

Using the provider

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.

Development

Building The Provider

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

Adding Dependencies

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.