Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/flaconi/terraform-commercetools-api-client


https://github.com/flaconi/terraform-commercetools-api-client

aws commercetools terraform terraform-module

Last synced: about 5 hours ago
JSON representation

Awesome Lists containing this project

README

        

# Terraform Commercetools API client

[![lint](https://github.com/flaconi/terraform-commercetools-api-client/workflows/lint/badge.svg)](https://github.com/flaconi/terraform-commercetools-api-client/actions?query=workflow%3Alint)
[![test](https://github.com/flaconi/terraform-commercetools-api-client/workflows/test/badge.svg)](https://github.com/flaconi/terraform-commercetools-api-client/actions?query=workflow%3Atest)
[![Tag](https://img.shields.io/github/tag/flaconi/terraform-commercetools-api-client.svg)](https://github.com/flaconi/terraform-commercetools-api-client/releases)

This module will create commercetools client credentials and save them in SSM store.

## Providers

| Name | Version |
|------|---------|
| [aws](#provider\_aws) | >= 5.31 |
| [commercetools](#provider\_commercetools) | >= 1.13.0 |

## Requirements

| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.1 |
| [aws](#requirement\_aws) | >= 5.31 |
| [commercetools](#requirement\_commercetools) | >= 1.13.0 |

## Required Inputs

No required inputs.

## Optional Inputs

The following input variables are optional (have default values):

### [client\_id](#input\_client\_id)

Description: Commercetools API client id used to create a new client

Type: `string`

Default: `""`

### [client\_secret](#input\_client\_secret)

Description: Commercetools API client secret used to create a new client

Type: `string`

Default: `""`

### [client\_scopes](#input\_client\_scopes)

Description: Commercetools API client scopes used to create a new client

Type: `string`

Default: `""`

### [project\_key](#input\_project\_key)

Description: Commercetools project key used to create a new client

Type: `string`

Default: `""`

### [api\_url](#input\_api\_url)

Description: Commercetools API URL used to create a new client

Type: `string`

Default: `""`

### [token\_url](#input\_token\_url)

Description: Commercetools AUTH URL used to create a new client

Type: `string`

Default: `""`

### [client\_id\_ssm\_path](#input\_client\_id\_ssm\_path)

Description: SSM-path to Commercetools API client id used to create a new client

Type: `string`

Default: `""`

### [client\_secret\_ssm\_path](#input\_client\_secret\_ssm\_path)

Description: SSM-path to Commercetools API client secret used to create a new client

Type: `string`

Default: `""`

### [client\_scopes\_ssm\_path](#input\_client\_scopes\_ssm\_path)

Description: SSM-path to Commercetools API client scopes used to create a new client

Type: `string`

Default: `""`

### [project\_key\_ssm\_path](#input\_project\_key\_ssm\_path)

Description: SSM-path to Commercetools project key used to create a new client

Type: `string`

Default: `""`

### [api\_url\_ssm\_path](#input\_api\_url\_ssm\_path)

Description: SSM-path to Commercetools API URL used to create a new client

Type: `string`

Default: `""`

### [token\_url\_ssm\_path](#input\_token\_url\_ssm\_path)

Description: SSM-path to Commercetools AUTH URL used to create a new client

Type: `string`

Default: `""`

### [api\_clients](#input\_api\_clients)

Description: Map of API clients

Type:

```hcl
map(object({
name = string,
scope = set(string)
}))
```

Default: `{}`

## Outputs

| Name | Description |
|------|-------------|
| [api\_clients](#output\_api\_clients) | Created API clients through terraform |

Copyright (c) 2023 **[Flaconi GmbH](https://github.com/flaconi)**