Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kamataryo/terraform-provider-liff
https://github.com/kamataryo/terraform-provider-liff
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kamataryo/terraform-provider-liff
- Owner: kamataryo
- License: mpl-2.0
- Created: 2024-07-24T05:37:12.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-09T01:17:40.000Z (5 months ago)
- Last Synced: 2024-08-09T10:58:56.939Z (5 months ago)
- Language: Go
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform Provider LIFF
## Requirements
- [Terraform](https://developer.hashicorp.com/terraform/downloads) >= 1.8
- [Go](https://golang.org/doc/install) >= 1.22.5## Using the provider
```terraform
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](https://registry.terraform.io/providers/kamataryo/liff/latest/docs).
## Development
### Building The Provider1. Clone the repository
1. Enter the repository directory
1. Build the provider using the Go `install` command:```shell
go install .
```### Adding Dependencies
This provider uses [Go modules](https://github.com/golang/go/wiki/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:
```shell
go get github.com/author/dependency
go mod tidy
```Then commit the changes to `go.mod` and `go.sum`.