This repository has been archived by the owner on Dec 9, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
basic create budget functionality [hashicorp#753] use human readable date format and descriptive field names [hashicorp#753] add cost filters to budget resource [hashicorp#753] delete budget on resource destroy [hashicorp#753] fix go vet errors update and read a aws budget from the resource handle read of non-existent budget gracefully employ functions to remove duplication and clarify intent reuse existing method for budget existence check Added documentation for aws_budget resource. (#1) hi @nicksantamaria , thanks for the contribution and the helpful feedback on this PR. support full set of budget costtypes use default for budget time period end check proper creation of budget time period enable use of budget name_prefix as alternative to budget name update defaults budget values and documentation dry up budget test configs create test budget with end date which is always in the future align max budget end date with aws api max employ naming convention of aws service + resource - this is so we can keep resources grouped pr feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r172539673) align filename with service + resource naming pr feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r172539673) remove un-needed verbosity in object definition pr feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r172576462) remove deprecated call to Set in AWS budgets SDK PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r172561258) check for errors on budget read and obey demeter PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r172580699) flatten budget and checks uses separate function PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r172580699) swap use of Set for struct init with value PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r172561258) add cost_types attr to align with aws budget api PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r172566294) accurate documentation of budget resource PR Feedback: - https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r172568560 - https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r172569165 - https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r172577391 - https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r172569549 remove extraneous functions from budgets resource adhere function names in budgets to conventions inline test check rather than separate function PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r172570851) unmarshal costtypes as separate function configure optional account_id for budget - includes documentation updates for supported import changes PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r172560437) account_id in budget resource docs use inline schema definition for budgets budget PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r176823677) use aws string helper to create pointers PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r176824529) compute name and name prefix for budgets budget PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r176828112) emit warning when budget is not found PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r176828446) call read after create budgets budget PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r176824910) (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r176825249) remove redundant call on resource delete PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r176825987) define budget name on create only PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r176827787) correct name for budgets budget tests PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r178949969) reorder test cases for budgets PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r178956591) align test config function names to convention PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r178956192) adjust documentations to match nameing convention reorder and remove dups from attributes in docs PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r178957219) remove custom flat budget test struct - in favor of budgets.Budget PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r178955760) apply naming convention to all test functions use resources list to cleanup test budgets PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r178953821) conform budgetdestroy signature to testdestroy rework function signature for exists check PR Feedback: (https://github.com/terraform-providers/terraform-provider-aws/pull/1879/files#r178951991)
- Loading branch information