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

Migrate IoT services to AWS Go SDKv2 #37152

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
3521154
feat: migrated iot services to SDKv2
DanielRieske Apr 29, 2024
c845db3
chore: linter findings
DanielRieske Apr 29, 2024
ce0b150
feat: refactored unused params and fixed ci findings
DanielRieske Apr 29, 2024
e0943c3
fix: fix ci finding
DanielRieske Apr 29, 2024
3aa6eb1
chore: added changelog
DanielRieske Apr 29, 2024
7b72b62
Merge branch 'main' into f/add-tags-iot-authorizer-resource
DanielRieske May 7, 2024
3fa49c4
chore: fix merge conflicts
DanielRieske May 7, 2024
d65ba94
Merge branch 'main' into f/add-tags-iot-authorizer-resource
DanielRieske May 9, 2024
7830143
chore: fix mod
DanielRieske May 9, 2024
331e32b
chore: cleantidy
DanielRieske May 9, 2024
7f9e834
Merge branch 'main' into f/add-tags-iot-authorizer-resource
DanielRieske May 11, 2024
3a7296d
chore: fix undefined
DanielRieske May 11, 2024
8ecd6f8
fix: semgrep finding
DanielRieske May 11, 2024
855ddfc
feat: added `pre_provisioning_hook` update with tests
DanielRieske May 12, 2024
d3b8443
fmt: fix formatting
DanielRieske May 12, 2024
17916f6
Merge branch 'main' into f/add-tags-iot-authorizer-resource
DanielRieske May 12, 2024
f99fd27
fix: added copyright headers
DanielRieske May 12, 2024
47f6ef9
chore: updated zip
DanielRieske May 12, 2024
bb7dc16
chore: changed changelog
DanielRieske May 12, 2024
75564b6
Merge branch 'main' into f/add-tags-iot-authorizer-resource
DanielRieske May 14, 2024
aebedfd
fix: fix semgrep findings
DanielRieske May 14, 2024
2d97312
Merge branch 'main' into f/add-tags-iot-authorizer-resource
DanielRieske May 14, 2024
354dfef
fix: semgrep findings
DanielRieske May 15, 2024
68427d6
fix: tag test
DanielRieske May 15, 2024
f076429
Merge branch 'main' into f/add-tags-iot-authorizer-resource
DanielRieske May 16, 2024
772f840
fix: semgrep finding
DanielRieske May 16, 2024
59eeda5
chore: fix literals
DanielRieske May 16, 2024
537f247
Merge branch 'main' into f/add-tags-iot-authorizer-resource
DanielRieske May 24, 2024
d900f33
chore: `make clean-tidy`
DanielRieske May 24, 2024
59d0940
Merge branch 'main' into f/add-tags-iot-authorizer-resource
DanielRieske Jul 2, 2024
f01e0e6
chore: run `make gen`
DanielRieske Jul 2, 2024
51fab66
fix: imports
DanielRieske Jul 2, 2024
c014061
Merge branch 'main' into f/add-tags-iot-authorizer-resource
DanielRieske Jul 2, 2024
9df3b0c
fix: imports
DanielRieske Jul 2, 2024
018c867
Merge branch 'main' into HEAD
ewbankkit Jul 2, 2024
8c6faef
Run 'make clean-tidy'.
ewbankkit Jul 2, 2024
611ea68
r/aws_iot_authorizer: Reduce visibility.
ewbankkit Jul 2, 2024
28f9f29
r/aws_iot_billing_group: Reduce visibility.
ewbankkit Jul 2, 2024
075a4ef
r/aws_iot_ca_certificate: Reduce visibility.
ewbankkit Jul 2, 2024
7a6d979
r/aws_iot_certificate: Reduce visibility.
ewbankkit Jul 2, 2024
67e160e
r/aws_iot_domain_configuration: Reduce visibility.
ewbankkit Jul 2, 2024
339c07a
d/aws_iot_endoint: Reduce visibility.
ewbankkit Jul 2, 2024
f698930
r/aws_iot_event_configurations: Reduce visibility.
ewbankkit Jul 2, 2024
e339f39
r/aws_iot_thing_type: Reduce visibility.
ewbankkit Jul 2, 2024
8fb56a1
r/aws_iot_indexing_configuration: Reduce visibility.
ewbankkit Jul 2, 2024
2e6e95d
r/aws_iot_policy_attachment: Reduce visibility.
ewbankkit Jul 2, 2024
be0dafa
r/aws_iot_policy: Reduce visibility.
ewbankkit Jul 2, 2024
c0c28cf
r/aws_iot_provisioning_template: Reduce visibility.
ewbankkit Jul 2, 2024
6636aac
d/aws_iot_registration_code: Reduce visibility.
ewbankkit Jul 2, 2024
b99cc86
r/aws_iot_role_alias: Reduce visibility.
ewbankkit Jul 2, 2024
707f2db
r/aws_iot_thing_group_membership: Reduce visibility.
ewbankkit Jul 2, 2024
15016f9
r/aws_iot_thing_group: Reduce visibility.
ewbankkit Jul 2, 2024
aeda792
r/aws_iot_topic_rule_destination: Reduce visibility.
ewbankkit Jul 2, 2024
50211d8
r/aws_iot_topic_rule: Reduce visibility.
ewbankkit Jul 2, 2024
2f1afa8
iot: Fixup sweepers.
ewbankkit Jul 2, 2024
90d5d0b
Fix golangci-lint 'exportloopref'.
ewbankkit Jul 2, 2024
992fbd3
r/aws_iot_role_alias: Handle ResourceNotFound on Delete.
ewbankkit Jul 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changelog/37152.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:enhancement
resource/aws_iot_authorizer: Add `tags` argument
```

```release-note:bug
resource/aws_iot_provisioning_template: Fix `pre_provisioning_hook` update operation
```
4 changes: 4 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,17 @@ require (
github.com/aws/aws-sdk-go-v2/service/glacier v1.24.1
github.com/aws/aws-sdk-go-v2/service/globalaccelerator v1.26.1
github.com/aws/aws-sdk-go-v2/service/grafana v1.24.1
github.com/aws/aws-sdk-go-v2/service/greengrass v1.25.1
github.com/aws/aws-sdk-go-v2/service/groundstation v1.29.1
github.com/aws/aws-sdk-go-v2/service/guardduty v1.45.1
github.com/aws/aws-sdk-go-v2/service/healthlake v1.26.1
github.com/aws/aws-sdk-go-v2/service/iam v1.34.1
github.com/aws/aws-sdk-go-v2/service/identitystore v1.25.1
github.com/aws/aws-sdk-go-v2/service/inspector2 v1.28.1
github.com/aws/aws-sdk-go-v2/service/internetmonitor v1.16.1
github.com/aws/aws-sdk-go-v2/service/iot v1.55.1
github.com/aws/aws-sdk-go-v2/service/iotanalytics v1.24.1
github.com/aws/aws-sdk-go-v2/service/iotevents v1.25.1
github.com/aws/aws-sdk-go-v2/service/ivschat v1.14.1
github.com/aws/aws-sdk-go-v2/service/kafka v1.35.1
github.com/aws/aws-sdk-go-v2/service/kendra v1.52.1
Expand Down
8 changes: 8 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ github.com/aws/aws-sdk-go-v2/service/globalaccelerator v1.26.1 h1:ZF//0v9qJttmSj
github.com/aws/aws-sdk-go-v2/service/globalaccelerator v1.26.1/go.mod h1:bWwtuxoMnUPJAn7EjLscm0ddKzf++mnjCUF8J/gjxsA=
github.com/aws/aws-sdk-go-v2/service/grafana v1.24.1 h1:9arpyvo+AHuSlfwd0B4+99mSauANa+ca4UR04TXpMC8=
github.com/aws/aws-sdk-go-v2/service/grafana v1.24.1/go.mod h1:w3Do1roFlHxKtjWkjSwevSX4Vbia2CpZ32rfBa38xJs=
github.com/aws/aws-sdk-go-v2/service/greengrass v1.25.1 h1:Fw4hUGV/H7uJUf+h/ZkwXHDUrCeRzy6T8JvzsM5J1yE=
github.com/aws/aws-sdk-go-v2/service/greengrass v1.25.1/go.mod h1:sdnAwxQLduSCSlpqfPY8XSfcPNzT9uMG+h7+AmgPQ1w=
github.com/aws/aws-sdk-go-v2/service/groundstation v1.29.1 h1:b7NYx+Wns7iVGWCoVDlYeJhmBvzYBrtCqbIkDxOrHE8=
github.com/aws/aws-sdk-go-v2/service/groundstation v1.29.1/go.mod h1:AJdJPFZ2QWkkVn/zt+y9KcVTZiMCWQCgDyMRjxr6Rww=
github.com/aws/aws-sdk-go-v2/service/guardduty v1.45.1 h1:+YYUnMwh5C8JIKCdwMjcamNqbId+vidg4Dri2Z+VSKA=
Expand All @@ -256,6 +258,12 @@ github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.13 h1:Eq2THzHt6P41m
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.13/go.mod h1:FgwTca6puegxgCInYwGjmd4tB9195Dd6LCuA+8MjpWw=
github.com/aws/aws-sdk-go-v2/service/internetmonitor v1.16.1 h1:k/RKod+whF8SajBLtMbonnASqDH7cdcaV+dV4Y+Iy14=
github.com/aws/aws-sdk-go-v2/service/internetmonitor v1.16.1/go.mod h1:XPMC1HSRRPuwRPyJxEOdmXDMwSzwuLRgJxWvruqOb1E=
github.com/aws/aws-sdk-go-v2/service/iot v1.55.1 h1:vtcrAu71ib/I1HZMNT/Kse/EHOnoxsG72sqlkuCn7mE=
github.com/aws/aws-sdk-go-v2/service/iot v1.55.1/go.mod h1:teEXCZKFcHzIeb3lp18Rg1UQNB1dFSza6xlnPySBUsE=
github.com/aws/aws-sdk-go-v2/service/iotanalytics v1.24.1 h1:HgYcw25tNge1/t+QTaGP5snHG2Ktb/u4KlD/qkxyjk8=
github.com/aws/aws-sdk-go-v2/service/iotanalytics v1.24.1/go.mod h1:7EAfulhWZOndeYQyqloMJoPK9YbInZ7MXsDRTB3QcU0=
github.com/aws/aws-sdk-go-v2/service/iotevents v1.25.1 h1:5DFNTv6jUEMVK/XiO/kjFhJLALQUXhBxERUHqY2I1Fg=
github.com/aws/aws-sdk-go-v2/service/iotevents v1.25.1/go.mod h1:aFAvBjoz1mujsaPHgVoj4Bhwg6xG7vzk1AfCOt7/u8I=
github.com/aws/aws-sdk-go-v2/service/ivschat v1.14.1 h1:rmVLJaE6iqVSSeipZnhul8BMBm6PkVIWvFkPUnSLYcc=
github.com/aws/aws-sdk-go-v2/service/ivschat v1.14.1/go.mod h1:IUQ9qdszWBPacNZ36JLkmOxGx/2LCzz/DOZjpg/8tz4=
github.com/aws/aws-sdk-go-v2/service/kafka v1.35.1 h1:Q4Jr/gf+7LHjBFTdecQJn4ugVoVszCHzyq1EztrHHkc=
Expand Down
24 changes: 12 additions & 12 deletions internal/conns/awsclient_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/service/greengrass/generate.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

//go:generate go run ../../generate/tags/main.go -ListTags -ServiceTagsMap -UpdateTags
//go:generate go run ../../generate/tags/main.go -ListTags -ServiceTagsMap -UpdateTags -AWSSDKVersion=2 -KVTValues -SkipTypesImp
//go:generate go run ../../generate/servicepackage/main.go
// ONLY generate directives and package declaration! Do not add anything else to this file.

Expand Down
66 changes: 36 additions & 30 deletions internal/service/greengrass/service_endpoint_resolver_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading