Skip to content

fix: Add ARNs to resources that were missing them#2099

Merged
kodiakhq[bot] merged 1 commit intomainfrom
add-back-arns
Sep 27, 2022
Merged

fix: Add ARNs to resources that were missing them#2099
kodiakhq[bot] merged 1 commit intomainfrom
add-back-arns

Conversation

@hermanschaaf
Copy link
Copy Markdown
Contributor

@hermanschaaf hermanschaaf commented Sep 27, 2022

(...or had them under a non-standard name). For AWS resources, we use the column name arn if the resource has a unique ARN.

  • aws_autoscaling_group_scaling_policies: renamed policy_arn -> arn
  • aws_backup_vault_recovery_points: renamed recovery_point_arn -> arn
  • aws_ecs_task_definitions: renamed task_definition_arn -> arn
  • aws_elasticbeanstalk_environments: renamed environment_arn -> arn
  • aws_fsx_backups: the ResourceARN field was previously named arn, but that refers to the resource, not the backup, so we should keep it resource_arn and have no arn field for backups.
  • aws_lambda_function_aliases: renamed alias_arn -> arn
  • aws_resourcegroups_resource_groups: renamed group_arn -> arn
  • aws_xray_sampling_rules: extracted arn from SamplingRule.RuleARN

Closes #2029

@hermanschaaf hermanschaaf added the automerge Automatically merge once required checks pass label Sep 27, 2022
@kodiakhq kodiakhq bot merged commit 122b5c8 into main Sep 27, 2022
@kodiakhq kodiakhq bot deleted the add-back-arns branch September 27, 2022 16:25
kodiakhq bot pushed a commit that referenced this pull request Oct 3, 2022
🤖 I have created a release *beep* *boop*
---


## [0.15.1-pre.0](plugins-source-aws-v0.15.0-pre.0...plugins-source-aws-v0.15.1-pre.0) (2022-10-02)


### Bug Fixes

* Add ARNs to resources that were missing them ([#2099](#2099)) ([122b5c8](122b5c8))
* **deps:** Update github.com/gocarina/gocsv digest to ad3251f ([#2178](#2178)) ([94e0e83](94e0e83))
* **deps:** Update golang.org/x/sync digest to 8fcdb60 ([#2170](#2170)) ([4cd4259](4cd4259))
* **deps:** Update module github.com/aws/aws-sdk-go to v1.44.109 ([#2174](#2174)) ([e16760c](e16760c))
* **deps:** Update module github.com/aws/aws-sdk-go-v2 to v1.16.16 ([#2179](#2179)) ([de378c0](de378c0))
* **deps:** Update module github.com/aws/aws-sdk-go-v2/service/waf to v1.11.17 ([#2180](#2180)) ([7f28bd4](7f28bd4))
* **deps:** Update module github.com/aws/aws-sdk-go-v2/service/wafregional to v1.12.18 ([#2181](#2181)) ([f294e59](f294e59))
* **deps:** Update module github.com/aws/aws-sdk-go-v2/service/xray to v1.13.19 ([#2182](#2182)) ([cb54af0](cb54af0))
* **deps:** Update module github.com/cloudquery/plugin-sdk to v0.10.2 ([#2048](#2048)) ([e407991](e407991))
* **deps:** Update module github.com/cloudquery/plugin-sdk to v0.11.0 ([#2135](#2135)) ([1729467](1729467))
* **deps:** Update module github.com/cloudquery/plugin-sdk to v0.11.2 ([#2162](#2162)) ([5701aa5](5701aa5))
* **deps:** Update module github.com/cloudquery/plugin-sdk to v0.11.4 ([#2209](#2209)) ([1131665](1131665))
* Generate EC2 resources that were not being generated ([#2124](#2124)) ([87347f9](87347f9))
* Re-add AWS EC2 Instance state_transition_reason_time ([#2087](#2087)) ([3cf59df](3cf59df))
* Update endpoints ([#2102](#2102)) ([eb9fc3d](eb9fc3d))
* Update endpoints ([#2155](#2155)) ([6ecc34f](6ecc34f))
* Use custom resolver for Id fields ([#2117](#2117)) ([ae289a6](ae289a6))
* Use ParentResourceFieldResolver instead of ParentPathResolver ([#2126](#2126)) ([9f06971](9f06971))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug(v2): ARNs were removed on several AWS tables

3 participants