drewmullen
drewmullen
I believe there is an issue with the IAM policy. Can you try updating [this line ](https://github.com/AdamTylerLynch/terraform-awscc-kendra-sample/blob/a06c4f5aec543c39430742e1035e21741f5c7f08/main.tf#L46)to be `AWS/Kendra` not `Kendra`. Not sure if thats causing the issue or not...
```shell $ make build && cp $GOPATH/bin/terraform-provider-awscc ~/.terraform.d/plugins/providermeta/hashicorp/awscc/0.0.1/darwin_amd64/ go install # github.com/hashicorp/terraform-provider-awscc ./main.go:11:32: cannot use provider.New (type func() tfsdk.ProviderWithProviderMeta) as type func() tfsdk.Provider in argument to tfsdk.Serve make: *** [build]...
Unable to figure out how to extract the hcl provider_meta set in test `TestAccAWSEC2VPC_metadata`. I believe there is something going on here: https://github.com/hashicorp/terraform-plugin-framework/blob/5c07e076830a6e13f46b356c4a11439382760a85/internal/proto6server/serve.go#L1236-L1239 I'm pretty sure the function `applyResourceChange` should...
NOTE: this behavior does not happen if you use the data source: ```hcl data "aws_iam_policy_document" "flow_log_cw_assume_role" { statement { principals { type = "Service" identifiers = ["vpc-flow-logs.amazonaws.com"] } effect =...
FYI: when using embedded json, removing the `[]` resolves this issue ``` "Principal": { "Service": "vpc-flow-logs.amazonaws.com" }, ```
I am able to replicate. Here is some code to help. You must execute as 2 separate root modules: Please note there is a typo in the HCL, this is...
I assume this has something to do with the schema regarding ARN vs ID: error: ```terraform awscc_networkmanager_vpc_attachment.core_network will be updated in-place ~ resource "awscc_networkmanager_vpc_attachment" "core_network" { + core_network_arn = (known...
The offending ARN is readonly: ```json "readOnlyProperties": [ "/properties/CoreNetworkArn", ``` @ewbankkit does it seem like this is service side or provider side?
 i also noticed that the resource required acceptance. once i accepted the **problem persisted** ```terraform terraform state show awscc_networkmanager_vpc_attachment.core_network # awscc_networkmanager_vpc_attachment.core_network: resource "awscc_networkmanager_vpc_attachment" "core_network" { ... state = "PENDING_ATTACHMENT_ACCEPTANCE"...
i retried this [exact stack](https://github.com/hashicorp/terraform-provider-awscc/issues/586#issuecomment-1203972336) with the `jsonencode(jsondecode())` on the core_network resource and i no longer have issues with faux diffs on `vpc_attachment` ``` $ tf -v Terraform v1.2.7 on...