From 89b509d622ce71785fdeafe4e73322d8d10110cc Mon Sep 17 00:00:00 2001 From: GokceGK <161626272+GokceGK@users.noreply.github.com> Date: Mon, 22 Apr 2024 11:20:44 +0200 Subject: [PATCH] Add 'how to use the provider' in the README of repo (#341) * add 'how to use the provider' in the README of repo * move how to part in Getting started --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 23c9c77d..e990010c 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,26 @@ # Introduction This project is the official Terraform provider for STACKIT. - + # Getting Started +To install STACKIT Terraform Provider, copy and paste this code into your Terraform configuration. Then, run `terraform init`. + +``` +terraform { + required_providers { + stackit = { + source = "stackitcloud/stackit" + version = "X.X.X" + } + } +} + +provider "stackit" { + # Configuration options +} +``` + Check one of the examples in the [examples](examples/) folder. # Authentication