Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resource/aws_opsworks_stack: Fixes for tfproviderlint R002 (#12028)
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_opsworks_stack.go:328:38: R002: ResourceData.Set() pointer value dereference is extraneous ``` Output from acceptance testing: ``` --- PASS: TestAccAWSOpsworksStack_noVpcBasic (36.09s) --- PASS: TestAccAWSOpsworksStack_noVpcCreateTags (46.83s) --- PASS: TestAccAWSOpsworksStack_CustomCookbooks_SetPrivateProperties (40.27s) --- PASS: TestAccAWSOpsworksStack_vpc (64.43s) --- PASS: TestAccAWSOpsworksStack_noVpcChangeServiceRoleForceNew (43.03s) ```
- Loading branch information