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

[New Resource]: IoT Thing Group #1471

Closed
PeterBurner opened this issue Mar 13, 2024 · 3 comments · Fixed by #1501
Closed

[New Resource]: IoT Thing Group #1471

PeterBurner opened this issue Mar 13, 2024 · 3 comments · Fixed by #1501
Labels
code-generation Relates to the conversion of CloudFormation schema to Terraform schema at buildtime. enhancement

Comments

@PeterBurner
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
  • The resources and data sources in this provider are generated from the CloudFormation schema, so they can only support the actions that the underlying schema supports. For this reason submitted bugs should be limited to defects in the generation and runtime code of the provider. Customizing behavior of the resource, or noting a gap in behavior are not valid bugs and should be submitted as enhancements to AWS via the CloudFormation Open Coverage Roadmap.

Description

The AWS::IoT::ThingGroup resource is missing from the provider. Please add it.

New or Affected Resource(s)

  • awscc_iot_thing_group

Potential Terraform Configuration

resource "awscc_iot_thing_group" "parent" {
  name = "parent"
  properties {
    attribute_payload {
      attributes = {
        One = "11111"
        Two = "TwoTwo"
      }
    }
    description = "This is a parent thing group"
  }
  tags = [
    {
      Key = "Environment"
      Value = "dev"
    }
  ]
}

resource "awscc_iot_thing_group" "child" {
  name = "child"
  properties {
    attribute_payload {
      attributes = {
        One = "11111"
        Two = "TwoTwo"
      }
    }
    description = "This is a child thing group"
  }
  parent_group_name = awscc_iot_thing_group.parent.name
  tags = [
    {
      Key = "Environment"
      Value = "dev"
    }
  ]
}

resource "awscc_iot_thing_group" "dynamic" {
  name = "dynamic"
  properties {
    attribute_payload {
      attributes = {
        One = "11111"
        Two = "TwoTwo"
      }
    }
    description = "This is a dynamic thing group"
  }
  query = "attributes.temperature>60"
  tags = [
    {
      Key = "Environment"
      Value = "dev"
    }
  ]
}

data "awscc_iot_thing_group" "lookup" {
  name = "child"
}

References

@breathingdust
Copy link
Member

Resource generation is currently suppressed due to: #125

@breathingdust breathingdust added code-generation Relates to the conversion of CloudFormation schema to Terraform schema at buildtime. and removed needs-triage labels Mar 20, 2024
@PeterBurner
Copy link
Author

Is resource generation in general blocked or specifically for this resource? @breathingdust

@breathingdust
Copy link
Member

@PeterBurner there are a number of resources which our generation code is unable to handle currently, in those cases we suppress generation. Most resources are fine, its just those with specific schema representation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-generation Relates to the conversion of CloudFormation schema to Terraform schema at buildtime. enhancement
Projects
None yet
2 participants