Skip to content

Commit

Permalink
adding new resource dns resource record set (#4361) (#8835)
Browse files Browse the repository at this point in the history
* initial commit - adding new resource dns resource record set

* ignore_read set for managed_zone as API not returning it

* import_format and update_verb added

* handwritten test cases added

* handwritten test cases added, supressdiff func added

* fixed value attribute 'kind' removed from schema

* test name modified per PR comments

* legacy name attribute added

* removed extra line

* cleaned up the entries made on other resource accidentally

* excluded resource for inspec

* old handwritten resource removed from provider, test cases updated as per new resources, examples updated and duplicate tests deleted

* removed commented line

* test case inputs reverted to old upper case values as per PR comments

* suppress diff function modified to handle different cases, deleted old resource file and encoder

* attribute eliminated as its not required in API request

* indent corrected

* beta only unit test case added and file extension changed

* input flags added to the fields

* resource_record_set resource added to GA as API supports it now

* removed the generated resource entries added while added during merge conflict

* excluded the resource for Ansible

* Import steps added to tests as per PR comments

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Apr 4, 2021
1 parent aa5dd51 commit b00c318
Show file tree
Hide file tree
Showing 9 changed files with 722 additions and 682 deletions.
3 changes: 3 additions & 0 deletions .changelog/4361.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
6 changes: 3 additions & 3 deletions google/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -726,9 +726,9 @@ func Provider() *schema.Provider {
return provider
}

// Generated resources: 187
// Generated resources: 188
// Generated IAM resources: 81
// Total generated resources: 268
// Total generated resources: 269
func ResourceMap() map[string]*schema.Resource {
resourceMap, _ := ResourceMapWithErrors()
return resourceMap
Expand Down Expand Up @@ -895,6 +895,7 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) {
"google_dialogflow_entity_type": resourceDialogflowEntityType(),
"google_dns_managed_zone": resourceDNSManagedZone(),
"google_dns_policy": resourceDNSPolicy(),
"google_dns_record_set": resourceDNSResourceDnsRecordSet(),
"google_filestore_instance": resourceFilestoreInstance(),
"google_firestore_index": resourceFirestoreIndex(),
"google_firestore_document": resourceFirestoreDocument(),
Expand Down Expand Up @@ -1037,7 +1038,6 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) {
"google_dataflow_job": resourceDataflowJob(),
"google_dataproc_cluster": resourceDataprocCluster(),
"google_dataproc_job": resourceDataprocJob(),
"google_dns_record_set": resourceDnsRecordSet(),
"google_endpoints_service": resourceEndpointsService(),
"google_folder": resourceGoogleFolder(),
"google_folder_organization_policy": resourceGoogleFolderOrganizationPolicy(),
Expand Down
Loading

0 comments on commit b00c318

Please sign in to comment.