Resource: yet_settings_connection_aws

The company's own AWS access key: its SES, when it sends through its own (yet_settings_sending), and Drive's bucket (yet_settings_storage). Yet checks it with AWS before keeping it, sealed.

Warning: Destroying it disconnects the key: a company sending through its own SES stops sending, and Drive no longer reaches its bucket.

Note: Yet never gives the secret back. It is kept in the state as given, and a change to any attribute connects the key again; imported, the next apply sets it.

Example Usage

resource "yet_settings_connection_aws" "acme" {
  region            = "us-east-1"
  access_key_id     = var.aws_access_key_id
  secret_access_key = var.aws_secret_access_key
}

variable "aws_access_key_id" {
  type = string
}

variable "aws_secret_access_key" {
  type      = string
  sensitive = true
}

Schema

Required

  • access_key_id (String) The access key's ID: AKIA….
  • region (String) The AWS region of its SES: us-east-1.
  • secret_access_key (String, Sensitive) The access key's secret. Sent to Yet, never read back.

Read-Only

  • id (String) The company's slug.

Import

In Terraform v1.5.0 and later, with an import block:

import {
  to = yet_settings_connection_aws.acme
  id = "acme"
}

With terraform import:

# The company, by its slug. Yet never gives the secret back: the next apply
# connects the key again with the one in the configuration.
terraform import yet_settings_connection_aws.acme acme