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

Cannot generate latest schema for AWS::IoTSiteWise::AssetModel #752

Open
ewbankkit opened this issue Nov 22, 2022 · 0 comments
Open

Cannot generate latest schema for AWS::IoTSiteWise::AssetModel #752

ewbankkit opened this issue Nov 22, 2022 · 0 comments

Comments

@ewbankkit
Copy link
Contributor

ewbankkit commented Nov 22, 2022

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.

The current AWS::IoTSiteWise::AssetModel CloudFormation resource schema generates

+++ b/internal/aws/iotsitewise/asset_model_resource_gen.go
@@ -1310,6 +1310,12 @@ func assetModelResource(ctx context.Context) (resource.Resource, error) {
                "window":                       "Window",
        })
 
+       opts = opts.WithWriteOnlyPropertyPaths([]string{
+               "/properties/AssetModelProperties/*/DataTypeSpec",
+               "/properties/AssetModelProperties/*/Type/Transform/Variables/*/Value/HierarchyLogicalId",
+               "/properties/AssetModelCompositeModels/*/CompositeModelProperties/*/Type/Transform",
+               "/properties/AssetModelCompositeModels/*/CompositeModelProperties/*/Type/Metric",
+       })
        opts = opts.WithCreateTimeoutInMinutes(0).WithDeleteTimeoutInMinutes(0)
 
        opts = opts.WithUpdateTimeoutInMinutes(0)

which we cannot currently handle.
See #101.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant