Prepared everything for the first release

This commit is contained in:
Julien Dessaux 2023-06-19 00:05:58 +02:00
parent 6844355a92
commit 18ae275c5b
Signed by: adyxax
GPG key ID: F92E51B86E07177E
23 changed files with 857 additions and 4 deletions

9
examples/README.md Normal file
View file

@ -0,0 +1,9 @@
# Examples
This directory contains examples that are mostly used for documentation, but can also be run/tested manually via the Terraform CLI.
The document generation tool looks for files in the following locations by default. All other *.tf files besides the ones mentioned below are ignored by the documentation tool. This is useful for creating examples that can run and/or ar testable even if some parts are not relevant for the documentation.
* **provider/provider.tf** example file for the provider index page
* **data-sources/`full data source name`/data-source.tf** example file for the named data source page
* **resources/`full resource name`/resource.tf** example file for the named data source page

View file

@ -0,0 +1,2 @@
data "projects" "example" {
}

View file

@ -0,0 +1,4 @@
provider "eventline" {
api_key = "12345678-9abc-def0-1234-56789abcdef0"
endpoint = "http://localhost:8085/"
}

View file

@ -0,0 +1 @@
terraform import eventline_project.test 0123456789ABCDEFGHIJKLMNOPQ

View file

@ -0,0 +1,3 @@
resource "project" "example" {
name = "example"
}