hashicorp / terraform-provider-awscc

Terraform AWS Cloud Control provider
https://registry.terraform.io/providers/hashicorp/awscc/latest/docs
Mozilla Public License 2.0
255 stars 117 forks source link

awscc_personalize_dataset_group - Allow for custom domains #1062

Open DanCRichards opened 1 year ago

DanCRichards commented 1 year ago

Community Note

Description

AWS Personalize (Recommandation Service) usually is run for Ecommerce websites or On Demand video websites. The service also allows for custom domains, for example, recommending news articles on a news website.

awscc_personalize_dataset_group doesn't allow for the instantiation of custom domains which supports this

New or Affected Resource(s)

Potential Terraform Configuration

terraform {
  required_providers {
    awscc = {
      source  = "hashicorp/awscc"
      version = "~> 0.50.0"
    }
  }
}

provider "awscc" {
  region = "ap-southeast-2"
}

resource "awscc_personalize_dataset_group" "personalise-news_site-dataset-group" {
  name = "personalise-news_site-dataset-group"
  domain = "CUSTOM"
}

References

rupert-evill commented 8 months ago

Hi @DanCRichards, you can create a personalize dataset group with a CUSTOM domain by simply omitting the domain argument. For example:

resource "awscc_personalize_dataset_group" "personalize_dataset_group" { name = "personalize_dataset_group" }