From e2262a68c884c8e6efe37fa66743d29fdedbb501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Opasiak?= Date: Thu, 18 Jul 2024 09:30:00 +0200 Subject: [PATCH] members resource: add example --- docs/resources/organization_member.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/docs/resources/organization_member.md b/docs/resources/organization_member.md index a07be53..c2baee4 100644 --- a/docs/resources/organization_member.md +++ b/docs/resources/organization_member.md @@ -10,7 +10,28 @@ description: |- - +## Example Usage + +```terraform +resource "cycloid_organization_member" "tf_org_member" { + email = "random.email@host.com" + role_canonical = "organization-admin" +} + +provider "cycloid" { + url = var.cycloid_api_url + jwt = var.cycloid_api_key + organization_canonical = var.cycloid_organization +} + +terraform { + required_providers { + cycloid = { + source = "cycloidio/cycloid" + } + } +} +``` ## Schema