Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appstream 2.0 error in domain_join_info #26682

Closed
bommireddy98 opened this issue Sep 7, 2022 · 2 comments
Closed

Appstream 2.0 error in domain_join_info #26682

bommireddy98 opened this issue Sep 7, 2022 · 2 comments
Labels
service/appstream Issues and PRs that pertain to the appstream service.

Comments

@bommireddy98
Copy link

Terraform CLI and Terraform AWS Provider Version

C:\data\repo\appstream\aws>terraform -v
Terraform v1.1.9
on windows_amd64

  • provider registry.terraform.io/hashicorp/aws v4.22.0

Affected Resource(s)

Image builder

resource "aws_appstream_image_builder" "mds_appstream_image_builder" {
name = var.image_builder_name
description = var.image_builder_description
display_name = var.image_builder_display_name
enable_default_internet_access = var.image_builder_enable_default_internet_access
image_name = var.image_builder_image_name
instance_type = var.image_builder_instance_type
iam_role_arn = var.image_builder_iam_role_arn
vpc_config {
subnet_ids = [var.subnet_id]
security_group_ids = [var.security_group_ids]
}
tags = var.tags
}

Terraform Configuration Files

region         = "us-east-1"
bucket         = "state.us-east-1.mds.bidcomp-dev.network"
dynamodb_table = "mds-us-east-1-state-lock"

### Expected Behavior

No Error, Image builder should be successful implemented

### Actual Behavior

│ Error: error setting `domain_join_info` for AppStream ImageBuilder (mds-appstream-image-builder-dev-us-east-1): domain_join_info: '': source data must be an array or slice, got map
│ 
│   with module.appstream.aws_appstream_image_builder.mds_appstream_image_builder,
│   on modules/appstream/main.tf line 64, in resource "aws_appstream_image_builder" "mds_appstream_image_builder":64: resource "aws_appstream_image_builder" "mds_appstream_image_builder" {
│ 

Could you please find a solution for this?
@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. service/appstream Issues and PRs that pertain to the appstream service. labels Sep 7, 2022
@justinretzolk
Copy link
Member

justinretzolk commented Sep 13, 2022

Hey @bommireddy98 👋 Thanks for taking the time to submit this issue. It looks like this is a duplicate of #26677. We like to try to keep discussions consolidated, so we’re going to close this new issue in favor of that one.

Duplicate of #26677

@github-actions github-actions bot removed the needs-triage Waiting for first response or review from a maintainer. label Sep 13, 2022
@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/appstream Issues and PRs that pertain to the appstream service.
Projects
None yet
Development

No branches or pull requests

2 participants