Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resource/aws_iot_certificate: Fixes for tfproviderlint R002 (#12026)
Reference: #9952 Remove pointer value dereferences, which can cause potential panics and are extraneous as `Set()` automatically handles pointer types including when `nil`. Previously: ``` aws/resource_aws_iot_certificate.go:77:23: R002: ResourceData.Set() pointer value dereference is extraneous aws/resource_aws_iot_certificate.go:78:24: R002: ResourceData.Set() pointer value dereference is extraneous ``` Output from acceptance testing: ``` --- PASS: TestAccAWSIoTCertificate_keys_certificate (14.29s) --- PASS: TestAccAWSIoTCertificate_csr (14.85s) ```
- Loading branch information